login
A086016
Number of 8's in decimal expansion of n^2.
12
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 2, 1, 1, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1
OFFSET
0,84
LINKS
MATHEMATICA
DigitCount[(Range[0, 100])^2, 10, 8] (* G. C. Greubel, Dec 13 2016 *)
PROG
(PARI) A086016(n)=#select(d->d==8, digits(n^2)) \\ M. F. Hasler, Feb 21 2016
CROSSREFS
Cf. 0's A086008, 1's A086009, 2's A086010, 3's A086011, 4's A086012, 5's A086013, 6's A086014, 7's A086015, 9's A086017.
Cf. A269248 for the n^3 analog.
Sequence in context: A085859 A218218 A332006 * A103270 A087780 A082523
KEYWORD
base,nonn
AUTHOR
Jason Earls, Jul 07 2003
STATUS
approved