login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A329487
Primes p such that not all decimal digits of p occur in p^3.
1
2, 3, 7, 13, 17, 19, 23, 31, 37, 41, 43, 47, 53, 79, 83, 89, 103, 107, 113, 127, 131, 139, 149, 157, 163, 167, 173, 179, 181, 193, 197, 199, 211, 223, 227, 239, 241, 257, 263, 269, 271, 277, 283, 293, 307, 313, 317, 349, 353, 359, 367, 373, 379, 383, 397, 409, 419, 421, 431, 433, 439, 443, 457
OFFSET
1,1
COMMENTS
Complement of A030080 in the primes.
Includes 3*10^k-7 if k is in A102964.
LINKS
EXAMPLE
a(4)=13 is in the sequence because the digit 3 is in 13 but not in 13^3=2197.
MAPLE
filter:= proc(p)
if not isprime(p) then return false fi;
not (convert(convert(p, base, 10), set) subset convert(convert(p^3, base, 10), set))
end proc:
select(filter, [2, seq(i, i=3..10000, 2)]);
CROSSREFS
Sequence in context: A141633 A045327 A181103 * A220814 A045328 A045329
KEYWORD
nonn,base
AUTHOR
Robert Israel, Nov 14 2019
STATUS
approved