← RoseCode

ROSECODE 236

Find the period

Philippe_57721 · Programming ·

The period of a prime p is the period of the fraction 1/p.

For example, Period(79)=13(179=0.012658227848113) Find the smallest prime with a period of 798.