OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Flatten[Table[Select[FromDigits/@Tuples[{3, 8}, n], PrimeQ], {n, 8}]] (* Vincenzo Librandi, Jul 27 2012 *)
Select[Flatten[Table[10#+3&/@(FromDigits/@Tuples[{3, 8}, n]), {n, 0, 7}]], PrimeQ] (* Harvey P. Dale, Jan 06 2019 *)
PROG
(Magma) [p: p in PrimesUpTo(88838333) | Set(Intseq(p)) subset [3, 8]]; // Vincenzo Librandi, Jul 27 2012
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved