OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..30
MATHEMATICA
Module[{nn=50, w1, w2}, w1=Flatten[Table[Select[FromDigits/@Table[ PadRight[ {}, n, {a, a+5}], {n, 2, nn}], PrimeQ], {a, 4}]]; w2=Flatten[Table[Select[ FromDigits/@ Table[PadRight[{}, n, {a+5, a}], {n, 2, nn}], PrimeQ], {a, 4}]]; Join[ {2, 3, 5, 7}, w1, w2]//Union] (* Harvey P. Dale, Jan 09 2021 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Apr 15 1999
STATUS
approved