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.

A173797 Partial sums of A046065.

Original entry on oeis.org

-1, -3, -3, 115, 2915, 64233, 1481705, 37052343, 1010794167, 30033906085, 968116541861, 33698668291755, 1260923220465323, 50500621166196705, 2156396364937639905, 97820098649121183487, 4698747050422172145407
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A046065.

Programs

  • Magma
    [(&+[j^(j+2) - (j+2)^j: j in [0..n]]): n in [0..40]]; // G. C. Greubel, Jul 14 2021
    
  • Mathematica
    f[n_]:=(n^(n+2)-(n+2)^n); s=0; Table[s+=f[n],{n,0,40}]
  • Sage
    [sum(j^(j+2) - (j+2)^j for j in (0..n)) for n in (0..40)] # G. C. Greubel, Jul 14 2021

Formula

a(n) = Sum_{j=0..n} A046065(j). - G. C. Greubel, Jul 14 2021