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.

A164818 Integer average digit of squares.

Original entry on oeis.org

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

Views

Author

Zak Seidov, Aug 27 2009

Keywords

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

Crossrefs

Programs

  • 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