Cyclic repeating decimals

41 Views Asked by At

I was thinking today that if some fraction $1/n$ where $n$ is an integer has a digital period of $n-1$ then it must be a cyclic number. But Wikipedia says that this does hold but only states it true for when $n$ is prime. Why question is, why does $n$ need to be prime?