login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242214 Numbers n not divisible by 10 such that n^3 contains at least one 0. 2
16, 22, 34, 37, 42, 43, 47, 48, 52, 59, 63, 67, 69, 73, 74, 79, 84, 86, 87, 89, 93, 94, 99, 101, 102, 103, 106, 107, 109, 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 (list; graph; refs; listen; history; text; internal format)
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

Cf. A134843.

Sequence in context: A102944 A058901 A059756 * A242559 A242066 A303958

Adjacent sequences:  A242211 A242212 A242213 * A242215 A242216 A242217

KEYWORD

nonn,base,less

AUTHOR

Derek Orr, May 07 2014

EXTENSIONS

Definition clarified by Harvey P. Dale, Oct 03 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 19 20:01 EST 2019. Contains 319309 sequences. (Running on oeis4.)