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.

A360728 Expansion of Sum_{k>=0} (k * x * (1 + x^3))^k.

Original entry on oeis.org

1, 1, 4, 27, 257, 3133, 46737, 824567, 16792845, 387700506, 10005766337, 285445919589, 8919587932524, 302975123887680, 11115145723728035, 438000897534309171, 18450681900124075166, 827395845674975999727, 39352977072147424071861
Offset: 0

Views

Author

Seiichi Manyama, Feb 18 2023

Keywords

Crossrefs

Programs

  • PARI
    my(N=20, x='x+O('x^N)); Vec(sum(k=0, N, (k*x*(1+x^3))^k))
    
  • PARI
    a(n) = sum(k=0, n\4, (n-3*k)^(n-3*k)*binomial(n-3*k, k));

Formula

a(n) = Sum_{k=0..floor(n/4)} (n-3*k)^(n-3*k) * binomial(n-3*k,k).