Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #14 Dec 15 2017 17:36:31
%S 0,0,0,0,1,0,1,0,1,0,0,0,0,1,1,0,1,0,0,1,0,0,0,0,1,1,2,0,0,0,0,1,0,0,
%T 1,0,1,1,0,0,1,1,1,0,1,0,1,0,0,0,0,1,0,0,1,0,1,0,1,0,1,0,0,1,1,0,1,0,
%U 1,1,0,0,0,0,1,1,1,0,1,1,1,2,1,1,1,0,1,1,0,0,0,0,1,1,1,0,1,0,1,0,0,0,0,1,1
%N Number of 6's in decimal expansion of n^2.
%H G. C. Greubel, <a href="/A086014/b086014.txt">Table of n, a(n) for n = 0..1000</a>
%t Table[DigitCount[n^2,10,6],{n,0,110}] (* _Harvey P. Dale_, May 24 2014 *)
%o (PARI) A086014(n)=#select(d->d==6,digits(n^2)) \\ _M. F. Hasler_, Feb 21 2016
%Y Cf. 0's A086008, 1's A086009, 2's A086010, 3's A086011, 4's A086012, 5's A086013, 7's A086015, 8's A086016, 9's A086017.
%Y Cf. A269246 for the n^3 analog.
%K base,nonn
%O 0,27
%A _Jason Earls_, Jul 07 2003