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.

Showing 1-1 of 1 results.

A374080 Expansion of Product_{k>=1} (1 - x^(4*k-1)) * (1 - x^(4*k)).

Original entry on oeis.org

1, 0, 0, -1, -1, 0, 0, 0, -1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, -1, -1, 0, 0, 0, -1, 0, 1, 0, -1, -1, 0, 0, -1, -1, 1, 1, 0, -1, 0, 1, 0, -1, 0, 1, 1, -1, -1, 1, 1, 0, 0, 1, 2, -1, -1, 0, 1, 0, -2, 0, 2, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -2, 0, 1, -1, -2, 1, 2, 0, -2, -1, 2, 0, -2
Offset: 0

Views

Author

Ilya Gutkovskiy, Jun 27 2024

Keywords

Crossrefs

Programs

  • Mathematica
    nmax = 85; CoefficientList[Series[Product[(1 - x^(4 k - 1)) (1 - x^(4 k)), {k, 1, nmax}], {x, 0, nmax}], x]
    a[0] = 1; a[n_] := a[n] = -(1/n) Sum[DivisorSum[k, # &, Or[Mod[#, 4] == 0, Mod[#, 4] == 3] &] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 85}]
Showing 1-1 of 1 results.