4

How to find prime numbers where $\frac{1}{p}$ has decimal period of $p-1$? Is there any formula? please help. Example: $\frac{1}{7}=0.142857142857...$ with decimal period of $7-1=6$ also $17$ satisfies this condition, but $13$ does not.

J. W. Tanner
  • 60,406
iman12
  • 189

0 Answers0