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.

Previous Showing 11-12 of 12 results.

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

Original entry on oeis.org

1, -1, -3, -6, -18, -27, -108, -81, -486, 0, -1458, 8748, -6561, 118098, 118098, 1003833, 1417176, 11691702, 9565938, 105225318, 114791256, 746143164, 1076168025, 7231849128, 2324522934, 58113073350, 45328197213, 334731302496, 146444944842, 3263630199336, -3012581722464
Offset: 0

Views

Author

Ilya Gutkovskiy, Jun 08 2022

Keywords

Crossrefs

Programs

  • Mathematica
    nmax = 30; CoefficientList[Series[Product[(1 - 3^(k - 1) x^k), {k, 1, nmax}], {x, 0, nmax}], x]
    Table[Sum[(-1)^k Length[Select[IntegerPartitions[n, {k}], UnsameQ @@ # &]] 3^(n - k), {k, 0, Floor[(Sqrt[8 n + 1] - 1)/2]}], {n, 0, 30}]

Formula

a(n) = Sum_{k=0..A003056(n)} (-1)^k * q(n,k) * 3^(n-k), where q(n,k) is the number of partitions of n into k distinct parts.

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

Original entry on oeis.org

1, 10, 39, 390, 1521, 7830, 49518, 207360, 951102, 4264650, 22185657, 89579520, 401428224, 1676401110, 7172977275, 31972081050, 130330236546, 537393139200, 2213787635712, 8988968449530, 36073295687070, 150459195064320, 590262148332288, 2362876271009370, 9314694641056095
Offset: 0

Views

Author

Vaclav Kotesovec, Mar 02 2024

Keywords

Comments

In general, if d >= 1 and g.f. = Product_{k>=1} (1 + d^(k+1)*x^k) * (1 + d^(k-1)*x^k), then a(n) ~ d^(n + 1/2) * exp(sqrt(2*n*(Pi^2/3 + log(d)^2))) * (Pi^2/3 + log(d)^2)^(1/4) / (2^(5/4) * sqrt(Pi) * (d+1) * n^(3/4)).

Crossrefs

Cf. A022567 (d=1), A370761 (d=2).

Programs

  • Mathematica
    nmax = 25; CoefficientList[Series[Product[(1+3^(k+1)*x^k)*(1+3^(k-1)*x^k), {k, 1, nmax}], {x, 0, nmax}], x]

Formula

a(n) ~ 3^(n + 1/2) * exp(sqrt(2*n*(Pi^2/3 + log(3)^2))) * (Pi^2/3 + log(3)^2)^(1/4) / (2^(13/4) * sqrt(Pi) * n^(3/4)).
Previous Showing 11-12 of 12 results.