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.

A368526 a(n) = Sum_{k=1..n} k^2 * n^k.

Original entry on oeis.org

0, 1, 18, 282, 4740, 89355, 1896846, 45050852, 1186829064, 34391135205, 1087928669410, 37322190255966, 1380461544684300, 54772368958008975, 2320775754168090870, 104596636848116060040, 4996700995031905899536, 252208510175779038669321
Offset: 0

Views

Author

Seiichi Manyama, Dec 28 2023

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=1, n, k^2*n^k);

Formula

a(n) = [x^n] n*x * (1+n*x)/((1-x) * (1-n*x)^3).
a(n) = n * (n+1) * (n^n * (n^3-3*n^2+2*n+1) - 1)/(n-1)^3 for n > 1.