OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..24
MATHEMATICA
Select[ FromDigits /@ Flatten[ Table[ PadRight[{7}, i, # ] & /@ {1, 2, 3, 4, 5, 6, 7, 8, 9}, {i, 2, 50}], 1], PrimeQ[ # ] &]
Select[FromDigits/@Flatten[Table[PadRight[{7}, i, #]&/@{1, 3, 7, 9}, {i, 50}], 1], PrimeQ[#]&]//Union (* Harvey P. Dale, Nov 22 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Nov 22 2003
STATUS
approved