I had a very similar experience. I read the book from the library as a kid. I originally thought it was to do with ciphers, as I was into codes then. It introduced me to the programming section of the library, and I expanded to the math section from there. A couple of STEM degrees later and here I am.