OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[3 10^3]], Complement[IntegerDigits[#], {3, 5, 1}]=={} &]
Select[Flatten[Table[FromDigits/@Tuples[{1, 3, 5}, n], {n, 5}]], PrimeQ] (* Harvey P. Dale, Mar 03 2020 *)
PROG
(Magma) [p: p in PrimesUpTo(40000) | Set(Intseq(p)) subset [3, 5, 1]];
(Python)
from gmpy2 import is_prime, mpz
from itertools import product
A260224_list = [int(''.join(x)) for n in range(1, 10) for x in product('135', repeat=n) if is_prime(mpz(''.join(x)))] # Chai Wah Wu, Jul 21 2015
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Vincenzo Librandi, Jul 21 2015
STATUS
approved