Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #9 Sep 08 2022 08:46:13
%S 3,5,53,59,353,359,593,599,953,3359,3533,3539,3559,3593,5333,5393,
%T 5399,5939,5953,9533,9539,33353,33359,33533,33599,35339,35353,35393,
%U 35533,35593,35933,35993,35999,39359,39953,53353,53359,53593,53939,53959,53993
%N Primes that contain only the digits (3, 5, 9).
%C A020462 and A020468 are subsequences.
%H Alois P. Heinz, <a href="/A260227/b260227.txt">Table of n, a(n) for n = 1..10000</a>
%t Select[Prime[Range[2 10^4]], Complement[IntegerDigits[#], {3, 5, 9}]=={} &]
%t Select[Table[FromDigits/@Tuples[{3,5,9},n],{n,5}]//Flatten,PrimeQ] (* _Harvey P. Dale_, Sep 07 2018 *)
%o (Magma) [p: p in PrimesUpTo(2*10^5) | Set(Intseq(p)) subset [3, 5, 9]];
%Y Cf. similar sequences listed in A260223.
%Y Cf. A020462, A020468.
%K nonn,easy,base
%O 1,1
%A _Vincenzo Librandi_, Jul 22 2015