OFFSET
1,1
COMMENTS
The identical digits must be either 1 or 7. - Harvey P. Dale, Jun 28 2020
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..21
MATHEMATICA
Select[ FromDigits /@ Flatten[ Table[ PadRight[{9}, i, # ] & /@ {1, 2, 3, 4, 5, 6, 7, 8, 9}, {i, 2, 50}], 1], PrimeQ[ # ] &]
Select[Union[Flatten[Table[FromDigits[PadRight[{9}, n, d]], {n, 2, 50}, {d, {1, 7}}]]], PrimeQ] (* Harvey P. Dale, Jun 27 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Nov 22 2003
STATUS
approved