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.

A134007 a(n) = 1^n + 3^n + 5^n + 7^n + 9^n.

Original entry on oeis.org

5, 25, 165, 1225, 9669, 79225, 665445, 5686825, 49208709, 429746905, 3779084325, 33407391625, 296515495749, 2639977136185, 23561123826405, 210669225531625, 1886405750358789, 16910575282247065, 151726863979595685
Offset: 0

Views

Author

Artur Jasinski, Oct 01 2007

Keywords

Examples

			a(3)=165 because 1^2 + 3^2 + 5^2 + 7^2 + 9^2 = 165.
		

Crossrefs

Programs

  • Magma
    [1^n + 3^n + 5^n + 7^n + 9^n: n in [0..20]]; // Vincenzo Librandi, Jun 20 2011
  • Mathematica
    Table[1^n+3^n+5^n+7^n+9^n,{n,0,30}]

Formula

a(n) = 24*a(n-1) - 206*a(n-2) + 744*a(n-3) - 945*a(n-4) + 384.
G.f.: -(5 - 100*x + 690*x^2 - 1900*x^3 + 1689*x^4)/((-1+x)*(3*x-1)*(9*x-1)*(7*x-1)*(5*x-1)). - R. J. Mathar, Nov 14 2007
a(n) = A134006(n) + A001019(n). - Michel Marcus, Nov 07 2013