111111…..

Let p be a prime number that is not 2 or 5. Show that there exists a number made up of only the digit 1 (like 11, 111, 1111, etc.) that is divisible by p.

Comment

A great explanation can also be found in this Ebima Lab’ YouTube video (in Japanese but English subtitles are available).