Math Help - prime

1. prime

Suppose that n > 1,and the decimal expansion of1/n has a purely repeating
decimal expansion with period n-1.Prove that n is prime.

2. Originally Posted by bigb
Suppose that n > 1,and the decimal expansion of1/n has a purely repeating
decimal expansion with period n-1.Prove that n is prime.
Maybe this helps.