Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
So stated another way, the number of non-repeating decimals is equal to the number of times the denominator is divisible by either 5 or 2. For example, 1/12, 12 is divisible by 2, 2 times, and there are 2 non-repeating digits. 1/96, 96 is divisible by 2 - 5 times... Do you recommend a good number theory book that explains this in more depth? Thank you Nick!