Category Archives: Mathematics

Finding the Period of the Decimal Expansion of 1/n

When I was solving Project Euler’s problem 26, I had to find a way to obtain the period of the the decimal expansion of for various integer values of . I first thought of comparing strings of digits along the … Continue reading

Posted in Mathematics | Leave a comment