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

A242559
Zeroless numbers n such that n^3 contains a 0.
0
16, 22, 34, 37, 42, 43, 47, 48, 52, 59, 63, 67, 69, 73, 74, 79, 84, 86, 87, 89, 93, 94, 99, 112, 115, 116, 117, 118, 123, 124, 126, 127, 128, 131, 134, 135, 138, 141, 143, 145, 149, 152, 159, 163, 164, 169, 171, 172, 174, 182, 184, 187, 192, 193, 194, 199, 214, 216
OFFSET
1,1
EXAMPLE
16 does not contain a 0 and 16^3 = 4096 contains a 0. Thus, 16 is a member of this sequence.
PROG
(Python)
{print(n) for n in range(10**3) if str(n).count("0")==0 and str(n**3).count("0")>0}
(PARI) is(n)=Set(digits(n))[1] && Set(digits(n^3))[1]==0 \\ Charles R Greathouse IV, Jul 10 2015
CROSSREFS
Subsequence of A242214.
Cf. A052382 (zeroless numbers), A134843.
Sequence in context: A058901 A059756 A242214 * A242066 A303958 A304601
KEYWORD
nonn,base
AUTHOR
Derek Orr, May 17 2014
STATUS
approved