This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A086009 Number of 1's in decimal expansion of n^2. 12
 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 2, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 0, 2, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 2, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,12 LINKS G. C. Greubel, Table of n, a(n) for n = 0..1000 EXAMPLE 4^2 = 16, so a(4)=1 and 11^2 = 121, so a(11)=2. MATHEMATICA DigitCount[(Range[0, 100])^2, 10, 1] (* G. C. Greubel, Dec 13 2016 *) PROG (PARI) A086009(n)=#select(d->d==1, digits(n^2)) \\ M. F. Hasler, Feb 21 2016 CROSSREFS Cf. 0's A086008, 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. A269241 for the n^3 analog. Sequence in context: A321144 A309048 A086072 * A086010 A321929 A089198 Adjacent sequences:  A086006 A086007 A086008 * A086010 A086011 A086012 KEYWORD base,nonn AUTHOR Jason Earls, 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 17 10:52 EDT 2019. Contains 327129 sequences. (Running on oeis4.)