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.

A359936 Expansion of Product_{k>=0} (1 - x^(k^2+1)) in powers of x.

Original entry on oeis.org

1, -1, -1, 1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, 1, -1, -2, 2, 1, -1, 0, 1, -1, -1, 1, -1, 2, 0, -2, 1, 1, -2, 0, 2, -1, 1, -2, 0, 2, -1, -1, 2, 1, -3, 0, 1, 1, -2, 0, 1, 0, 0, -1, 3, 0, -3, 0, 2, -2, 1, 1, -2, 2, -2, -2, 4, 2, -4, 1, 2, -3, -1, 1, 2, 1, -1, -3, 2
Offset: 0

Views

Author

Seiichi Manyama, Jan 19 2023

Keywords

Crossrefs

Programs

  • PARI
    my(N=100, x='x+O('x^N)); Vec(prod(k=0, sqrtint(N), 1-x^(k^2+1)))
    
  • PARI
    a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=-sum(j=1, i, sumdiv(j, d, issquare(d-1)*d)*v[i-j+1])/i); v;

Formula

a(0) = 1; a(n) = -(1/n) * Sum_{k=1..n} A359937(k) * a(n-k).