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.

A074507 a(n) = 1^n + 3^n + 5^n.

Original entry on oeis.org

3, 9, 35, 153, 707, 3369, 16355, 80313, 397187, 1972809, 9824675, 49005273, 244672067, 1222297449, 6108298595, 30531927033, 152630937347, 763068593289, 3815084686115, 19074648589593, 95370918425027, 476847618556329
Offset: 0

Views

Author

Robert G. Wilson v, Aug 23 2002

Keywords

Crossrefs

Programs

  • Mathematica
    Table[1^n + 3^n + 5^n, {n, 0, 22}]
    LinearRecurrence[{9,-23,15},{3,9,35},30] (* Harvey P. Dale, Mar 02 2022 *)
  • PARI
    a(n) = 1 + 3^n + 5^n; \\ Michel Marcus, Aug 07 2017

Formula

a(n) = 8*a(n-1) - 15*a(n-2) + 8.
G.f.: 1/(1-x)+1/(1-3*x)+1/(1-5*x). E.g.f.: e^x+e^(3*x)+e^(5*x). [Mohammad K. Azarian, Dec 26 2008]