A090148 Primes of the form identical digits followed by a 9.
19, 29, 59, 79, 89, 229, 449, 11119, 22229, 44449, 111119, 444449, 11111119, 55555559, 555555555559, 22222222222229, 88888888888889, 11111111111111119, 88888888888888889, 555555555555555559, 55555555555555555555555559
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..40
Programs
-
Mathematica
Select[ FromDigits /@ Flatten[ Table[ PadLeft[{9}, i, # ] & /@ {1, 2, 3, 4, 5, 6, 7, 8, 9}, {i, 2, 16}], 1], PrimeQ[ # ] &]