OFFSET
1,1
COMMENTS
n^3 may contain one or more zeros. - Harvey P. Dale, Oct 03 2016
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..2500
EXAMPLE
16 is not divisible by 10 and 16^3 = 4096, which contains a 0. Thus, 16 is a member of this sequence.
MATHEMATICA
Select[Range[200], Mod[#, 10]!=0&&DigitCount[#^3, 10, 0]>0&] (* Harvey P. Dale, Oct 03 2016 *)
PROG
(Python)
{print(n) for n in range(10**3) if n%10 != 0 and str(n**3).find("0") > 0}
(PARI) isok(n) = (n % 10) && (vecmin(digits(n^3)) == 0); \\ Michel Marcus, May 10 2014
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Derek Orr, May 07 2014
EXTENSIONS
Definition clarified by Harvey P. Dale, Oct 03 2016
STATUS
approved