I was messing around with numbers, trying to find patterns, and came across this one:
91 isn't prime, 991 is, 9991 isn't, 99991 is...
If you keep adding 9's, does this pattern hold infinitely?
I was messing around with numbers, trying to find patterns, and came across this one:
91 isn't prime, 991 is, 9991 isn't, 99991 is...
If you keep adding 9's, does this pattern hold infinitely?
No, the pattern breaks as $999999991=67\cdot 14925373.$
In fact, your numbers $f(n)=10^n-9$ are prime exactly for $n=3, 5, 7, 33, 45, 105, 197, 199, 281, 301, 317, 1107, 1657$ when $n\le 2000.$