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.

A349853 Expansion of Sum_{k>=0} k^2 * x^k/(1 + k * x).

Original entry on oeis.org

0, 1, 3, 2, 4, 11, -13, 36, 56, -515, 2067, -3890, -9620, 129047, -664349, 1837920, 2388704, -67004679, 478198563, -1994889926, 1669470804, 56929813955, -615188040173, 3794477505596, -12028579019512, -50780206473195, 1172949397924211, -10766410530764090
Offset: 0

Views

Author

Seiichi Manyama, Dec 02 2021

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := Sum[(-k)^(n - k + 2), {k, 0, n}]; Array[a, 28, 0] (* Amiram Eldar, Dec 02 2021 *)
  • PARI
    a(n, s=2, t=1) = sum(k=0, n, (-k^t)^(n-k)*k^s);
    
  • PARI
    my(N=40, x='x+O('x^N)); concat(0, Vec(sum(k=0, N, k^2*x^k/(1+k*x))))

Formula

a(n) = Sum_{k=0..n} (-k)^(n-k+2).