login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A164818
Integer average digit of squares.
2
1, 4, 9, 5, 3, 3, 3, 3, 6, 6, 3, 4, 4, 4, 4, 4, 4, 5, 5, 2, 2, 5, 5, 5, 5, 2, 5, 2, 5, 5, 5, 5, 5, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 3, 3, 3, 3, 3, 3, 3, 3, 6, 3, 3, 3, 6, 3, 6, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 6, 6, 3, 6, 3, 3, 3, 3, 3, 3, 3, 6, 3, 3, 3, 3, 3, 6, 6, 6, 6, 3, 3, 3, 6, 3, 3, 3, 3, 6, 6, 3, 6
OFFSET
1,2
COMMENTS
a(n)= average digit of squares of A164817(n).
The only n for which a(n) = 9 is 3. a(44) = a(26165) = 8. - Robert Israel, Feb 24 2016
LINKS
MAPLE
f:= proc(n) local L, r;
L:= convert(n^2, base, 10);
r:= convert(L, `+`)/nops(L);
if r::integer then r else NULL fi
end proc:
map(f, [$1..1000]); # Robert Israel, Feb 24 2016
CROSSREFS
Sequence in context: A200396 A011513 A340350 * A065796 A070434 A011003
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Aug 27 2009
STATUS
approved