I've noticed, that $\frac{1}{p}$ for all prime numbers, the length of their period in decimal presentation divides $p-1$, except $2,5$ whom their decimal fraction is finite. I haven't been able to prove it though.
I think it can be proven using Euclidean's long division, but I haven't got any luck there.
Thanks in advance for your help.