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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086008 Number of 0's in decimal expansion of n^2. 21
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 1, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 1, 1, 1, 2, 1, 1, 1, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 1, 1, 1, 4, 2, 2, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,11

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

EXAMPLE

10^2 = 100, so a(10)=2 and 32^2 = 1024, so a(32)=1.

MATHEMATICA

DigitCount[(Range[0, 100])^2, 10, 0] (* G. C. Greubel, Dec 13 2016 *)

PROG

(PARI) A086008(n)=!n+#select(d->!d, digits(n^2)) \\ M. F. Hasler, Feb 21 2016

CROSSREFS

Cf. 1's A086009, 2's A086010, 3's A086011, 4's A086012, 5's A086013, 6's A086014, 7's A086015, 8's A086016, 9's A086017.

Cf. A269250 for the n^3 analog.

Sequence in context: A251570 A173667 A241541 * A083910 A069843 A069849

Adjacent sequences:  A086005 A086006 A086007 * A086009 A086010 A086011

KEYWORD

base,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Jul 07 2003

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified March 24 20:06 EDT 2017. Contains 283993 sequences.