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.

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

Original entry on oeis.org

1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 2, 1, 1, 2, 1, 1, 3, 2, 1, 3, 3, 2, 4, 4, 2, 4, 5, 3, 5, 7, 4, 5, 8, 6, 7, 10, 7, 7, 12, 10, 9, 14, 12, 10, 16, 16, 13, 19, 19, 15, 22, 24, 19, 25, 28, 22, 29, 35, 28, 33, 40, 33, 38, 48, 41, 44, 55, 48, 51, 66, 59, 58, 74, 69
Offset: 0

Views

Author

Vaclav Kotesovec, Aug 26 2015

Keywords

Crossrefs

Programs

  • Mathematica
    nmax = 100; CoefficientList[Series[Product[(1 + x^(3*k+1)), {k, 0, nmax}], {x, 0, nmax}], x]
    nmax = 100; poly = ConstantArray[0, nmax + 1]; poly[[1]] = 1; poly[[2]] = 1; Do[If[Mod[k, 3] == 1, Do[poly[[j + 1]] += poly[[j - k + 1]], {j, nmax, k, -1}];], {k, 2, nmax}]; poly (* Vaclav Kotesovec, Jan 13 2017 *)

Formula

a(n) ~ exp(Pi*sqrt(n)/3) / (2^(4/3) * sqrt(3) * n^(3/4)) * (1 - (Pi/144 + 9/(8*Pi)) / sqrt(n)). - Vaclav Kotesovec, Aug 26 2015, extended Jan 16 2017
G.f.: Sum_{k>=0} x^(k*(3*k - 1)/2) / Product_{j=1..k} (1 - x^(3*j)). - Ilya Gutkovskiy, Nov 24 2020