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.

A350305 a(n) is the constant term in the expansion of Product_{k=1..n} (x^k + 1 + 1/x^k)^n.

Original entry on oeis.org

1, 1, 13, 1437, 1884211, 24657701475, 3111336932350947, 3710920324904591897521, 41323213770479673319301068309, 4261037235228828189774620497534270303, 4045313784246510024420372971256850718016451185
Offset: 0

Views

Author

Seiichi Manyama, Dec 23 2021

Keywords

Comments

a(n) is the coefficient of x^(n^2 * (n+1)/2) in Product_{k=0..n} (1 + x^k + x^(2*k))^n.

Crossrefs

Programs

  • Maple
    f:= n -> coeff(mul(x^k+1+1/x^k,k=1..n)^n,x,0):
    map(f, [$0..12]); # Robert Israel, Jan 15 2023
  • Mathematica
    a[n_] := Coefficient[Series[Product[(x^k + 1 + 1/x^k)^n, {k, 1, n}], {x, 0, 0}], x, 0]; Array[a, 11, 0] (* Amiram Eldar, Dec 24 2021 *)
  • PARI
    a(n) = polcoef(prod(k=1, n, x^k+1+1/x^k)^n, 0);
    
  • PARI
    a(n) = polcoef(prod(k=1, n, 1+x^k+x^(2*k))^n, n^2*(n+1)/2);