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”).

A051750
Primes whose cubes lack zeros.
10
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 41, 53, 61, 71, 83, 97, 113, 137, 139, 151, 157, 167, 173, 179, 181, 191, 197, 211, 233, 239, 241, 251, 257, 263, 277, 283, 293, 307, 331, 337, 347, 353, 359, 373, 379, 383, 389, 409, 421, 433, 457, 461, 463, 499, 503
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[100]], FreeQ[IntegerDigits[#^3], 0]&] (* Harvey P. Dale, Jan 06 2017 *)
PROG
(PARI) isok(n) = isprime(n) && vecmin(digits(n^3)); \\ Michel Marcus, Jan 06 2014
CROSSREFS
KEYWORD
base,nonn
AUTHOR
G. L. Honaker, Jr., Dec 07 1999
EXTENSIONS
More terms from Michel Marcus, Jan 06 2014
STATUS
approved