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