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.

A304578 a(n) = (n^2 + 1) * 5^n + (n^2 + 2) * 3^n.

Original entry on oeis.org

3, 19, 179, 1547, 12083, 87811, 605827, 4017787, 25823651, 161789939, 992351123, 5978820331, 35477981011, 207792160483, 1203339605987, 6900229858139, 39226193944643, 221290021193683, 1239902910407539, 6905023951693771, 38243741775219827, 210766657862250179, 1156345359837548099
Offset: 0

Views

Author

Vincenzo Librandi, May 16 2018

Keywords

Programs

  • Magma
    [(n^2+1)*5^n+(n^2+2)*3^n: n in [0..25]];
    
  • Mathematica
    CoefficientList[Series[(3 - 53 x + 434 x^2 - 1942 x^3 + 4635 x^4 - 4725 x^5)/((1-5 x)^3(1-3 x)^3), {x, 0, 33}], x] (* or *) Table[(n^2 + 1) 5^n + (n^2 + 2) 3^n, {n, 0, 20}]
  • PARI
    a(n)=(n^2+1)*5^n+(n^2+2)*3^n \\ Charles R Greathouse IV, May 16 2018

Formula

G.f.: (3-53*x+434*x^2-1942*x^3+4635*x^4-4725*x^5)/((1-5*x)^3(1-3*x)^3).