-
Notifications
You must be signed in to change notification settings - Fork 0
Are 111, 1111, and 11111 prime?
I thought about this in a sauna at a hot spring:
Is 111 prime?
No, it is divisible by 3.
What about 1111?
This looks like a prime. It is not divisible by 3, 5, or 7. But no. It has an amazing factorization:
What about 11111? Then I got overheated.
A number of the form
More generally, if
Therefore,
A number like 111, 222, or 4444 is called a repdigit. Every repunit is a repdigit.
Every repdigit is divisible by a repunit, e.g.,
🧸 Content is available under CC BY-SA 4.0 unless otherwise noted.