OFFSET
0,13
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
PROG
(PARI) my(N=99, x='x+O('x^N)); Vec(sum(k=0, sqrtint(N), (-1)^k*x^k^2*prod(j=1, k, 1+x^j)))
(Python)
from math import prod, isqrt
from sympy import Poly
from sympy.abc import x
def A350738(n): return Poly(sum((-1 if k % 2 else 1)*x**(k**2)*prod(1+x**j for j in range(1, k+1)) for k in range(isqrt(n+1)+1))).all_coeffs()[-n-1] # Chai Wah Wu, Jan 14 2022
CROSSREFS
KEYWORD
sign,look
AUTHOR
Seiichi Manyama, Jan 12 2022
STATUS
approved