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.

Showing 1-1 of 1 results.

A268227 a(n) = sum of digits of (2n)^2.

Original entry on oeis.org

0, 4, 7, 9, 10, 1, 9, 16, 13, 9, 4, 16, 18, 19, 19, 9, 7, 13, 18, 13, 7, 18, 19, 10, 9, 7, 13, 18, 13, 16, 9, 19, 19, 18, 16, 13, 18, 22, 25, 18, 10, 19, 18, 25, 22, 9, 22, 25, 18, 19, 1, 9, 16, 13, 18, 4, 16, 27, 19, 19, 9, 25, 22, 27, 22, 16, 18, 28, 28, 18, 16, 13, 18, 13, 16, 9, 10, 19, 18
Offset: 0

Views

Author

N. J. A. Sloane, Jan 31 2016

Keywords

Crossrefs

Bisection of A004159. Cf. A268228.

Programs

  • Mathematica
    Total[IntegerDigits[#]]&/@((2*Range[0,80])^2) (* Harvey P. Dale, Sep 14 2016 *)
  • PARI
    a(n) = sumdigits((2*n)^2); \\ Michel Marcus, Jul 23 2016
Showing 1-1 of 1 results.