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.

A134659 Total number of odd coefficients in (1+x+x^2)^k for k=0,...,n.

Original entry on oeis.org

1, 4, 7, 12, 15, 24, 29, 40, 43, 52, 61, 76, 81, 96, 107, 128, 131, 140, 149, 164, 173, 200, 215, 248, 253, 268, 283, 308, 319, 352, 373, 416, 419, 428, 437, 452, 461, 488, 503, 536, 545, 572, 599, 644, 659, 704, 737, 800, 805, 820, 835, 860, 875, 920, 945, 1000
Offset: 0

Views

Author

Steven Finch, Jan 25 2008

Keywords

Comments

a(n) = Sum_{k <= n} A071053(k)

Crossrefs

Programs

  • Mathematica
    Sum[PolynomialMod[(1+x+x^2)^k, 2] /. x->1, {k, 0, n-1}]

Extensions

Offset changed to 0 by N. J. A. Sloane, Feb 06 2015