%I #11 Sep 08 2022 08:46:13
%S 3,5,53,353,503,3533,5003,5303,5333,5503,30553,33053,33353,33503,
%T 33533,35053,35353,35533,50033,50053,50333,50503,53003,53353,53503,
%U 55333,303053,303553,305033,305353,305533,330053,333503,333533,335033,350003,350033,350503
%N Primes that contain only the digits (3, 5, 0).
%C A020462 is subsequence.
%H Alois P. Heinz, <a href="/A260223/b260223.txt">Table of n, a(n) for n = 1..10000</a>
%t Select[Prime[Range[4 10^4]], Complement[IntegerDigits[#], {3, 5, 0}]=={} &]
%t Select[FromDigits/@Tuples[{0,3,5},6],PrimeQ] (* _Harvey P. Dale_, Jul 19 2019 *)
%o (Magma) [p: p in PrimesUpTo(600000) | Set(Intseq(p)) subset [3, 5, 0]];
%Y Cf. Primes that contain only the digits (3,5,k): this sequence (k=0), A260224 (k=1), A214703 (k=2), A199345 (k=4), A260225 (k=6), A087363 (k=7), A260226 (k=8), A260227 (k=9).
%Y Cf. A020462.
%K nonn,easy,base
%O 1,1
%A _Vincenzo Librandi_, Jul 20 2015
|