cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A086008 Number of 0's in decimal expansion of n^2.

This page as a plain text file.
%I A086008 #11 Dec 15 2017 17:36:31
%S A086008 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,
%T A086008 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,
%U A086008 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
%N A086008 Number of 0's in decimal expansion of n^2.
%H A086008 G. C. Greubel, <a href="/A086008/b086008.txt">Table of n, a(n) for n = 0..1000</a>
%e A086008 10^2 = 100, so a(10)=2 and 32^2 = 1024, so a(32)=1.
%t A086008 DigitCount[(Range[0, 100])^2, 10, 0] (* _G. C. Greubel_, Dec 13 2016 *)
%o A086008 (PARI) A086008(n)=!n+#select(d->!d,digits(n^2)) \\ _M. F. Hasler_, Feb 21 2016
%Y A086008 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.
%Y A086008 Cf. A269250 for the n^3 analog.
%K A086008 base,nonn
%O A086008 0,11
%A A086008 _Jason Earls_, Jul 07 2003