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-3 of 3 results.

A026007 Expansion of Product_{m>=1} (1 + q^m)^m; number of partitions of n into distinct parts, where n different parts of size n are available.

Original entry on oeis.org

1, 1, 2, 5, 8, 16, 28, 49, 83, 142, 235, 385, 627, 1004, 1599, 2521, 3940, 6111, 9421, 14409, 21916, 33134, 49808, 74484, 110837, 164132, 241960, 355169, 519158, 755894, 1096411, 1584519, 2281926, 3275276, 4685731, 6682699, 9501979, 13471239, 19044780, 26850921, 37756561, 52955699
Offset: 0

Views

Author

Keywords

Comments

In general, for t > 0, if g.f. = Product_{m>=1} (1 + t*q^m)^m then a(n) ~ c^(1/6) * exp(3^(2/3) * c^(1/3) * n^(2/3) / 2) / (3^(2/3) * (t+1)^(1/12) * sqrt(2*Pi) * n^(2/3)), where c = Pi^2*log(t) + log(t)^3 - 6*polylog(3, -1/t). - Vaclav Kotesovec, Jan 04 2016

Examples

			For n = 4, we have 8 partitions
  01: [4]
  02: [4']
  03: [4'']
  04: [4''']
  05: [3, 1]
  06: [3', 1]
  07: [3'', 1]
  08: [2, 2']
		

Crossrefs

Programs

  • Maple
    with(numtheory):
    b:= proc(n) option remember;
          add((-1)^(n/d+1)*d^2, d=divisors(n))
        end:
    a:= proc(n) option remember;
          `if`(n=0, 1, add(b(k)*a(n-k), k=1..n)/n)
        end:
    seq(a(n), n=0..45);  # Alois P. Heinz, Aug 03 2013
  • Mathematica
    a[n_] := a[n] = 1/n*Sum[Sum[(-1)^(k/d+1)*d^2, {d, Divisors[k]}]*a[n-k], {k, 1, n}]; a[0] = 1; Table[a[n], {n, 0, 41}] (* Jean-François Alcover, Apr 17 2014, after Vladeta Jovovic *)
    nmax=50; CoefficientList[Series[Exp[Sum[(-1)^(k+1)*x^k/(k*(1-x^k)^2),{k,1,nmax}]],{x,0,nmax}],x] (* Vaclav Kotesovec, Feb 28 2015 *)
  • PARI
    N=66; q='q+O('q^N);
    gf= prod(n=1,N, (1+q^n)^n );
    Vec(gf)
    /* Joerg Arndt, Oct 06 2012 */

Formula

a(n) = (1/n)*Sum_{k=1..n} A078306(k)*a(n-k). - Vladeta Jovovic, Nov 22 2002
G.f.: Product_{m>=1} (1+x^m)^m. Weighout transform of natural numbers (A000027). Euler transform of A026741. - Franklin T. Adams-Watters, Mar 16 2006
a(n) ~ zeta(3)^(1/6) * exp((3/2)^(4/3) * zeta(3)^(1/3) * n^(2/3)) / (2^(3/4) * 3^(1/3) * sqrt(Pi) * n^(2/3)), where zeta(3) = A002117. - Vaclav Kotesovec, Mar 05 2015

A261562 Expansion of Product_{k>=1} (1 + 2*x^k)^k.

Original entry on oeis.org

1, 2, 4, 14, 24, 58, 124, 238, 480, 922, 1764, 3238, 6008, 10794, 19292, 34166, 59504, 103042, 176452, 299958, 505240, 845570, 1403324, 2315118, 3794640, 6180370, 10009540, 16121374, 25829512, 41171690, 65320956, 103140062, 162149488, 253823178, 395698276
Offset: 0

Views

Author

Vaclav Kotesovec, Aug 24 2015

Keywords

Crossrefs

Programs

  • Maple
    b:= proc(n, i) option remember;  `if`(n=0, 1, `if`(i<1, 0,
          add(2^j*binomial(i, j)*b(n-i*j, i-1), j=0..n/i)))
        end:
    a:= n-> b(n$2):
    seq(a(n), n=0..40);  # Alois P. Heinz, Sep 21 2018
  • Mathematica
    nmax = 50; CoefficientList[Series[Product[(1 + 2*x^k)^k, {k, 1, nmax}], {x, 0, nmax}], x]
    nmax = 50; CoefficientList[Series[Exp[Sum[(-1)^(k+1)*2^k/k*x^k/(1 - x^k)^2, {k, 1, nmax}]], {x, 0, nmax}], x]
    nmax = 50; s = 1+2*x; Do[s*=Sum[Binomial[k, j]*2^j*x^(j*k), {j, 0, nmax/k}]; s = Take[Expand[s], Min[nmax + 1, Exponent[s, x] + 1]];, {k, 2, nmax}]; CoefficientList[s, x] (* Vaclav Kotesovec, Jan 08 2016 *)
  • PARI
    {a(n) = polcoeff( exp( sum(m=1, n, x^m/m * sumdiv(m, d, -(-2)^d * m^2/d^2) ) +x*O(x^n)), n)}
    for(n=0, 40, print1(a(n), ", ")) \\ Paul D. Hanna, Sep 30 2015

Formula

G.f.: exp( Sum_{n>=1} x^n/n * Sum_{d|n} -(-2)^d * n^2/d^2 ). - Paul D. Hanna, Sep 30 2015
a(n) ~ c^(1/6) * exp(3^(2/3)*c^(1/3)*n^(2/3)/2) / (3^(3/4)*sqrt(2*Pi)*n^(2/3)), where c = Pi^2*log(2) + log(2)^3 - 6*polylog(3, -1/2) = 10.00970018379942727227807189532511265744588249928680712064... . - Vaclav Kotesovec, Jan 04 2016

A298987 a(n) = [x^n] Product_{k>=1} (1 + n*x^k)^k.

Original entry on oeis.org

1, 1, 4, 27, 80, 400, 1908, 6223, 31296, 116478, 450100, 1828915, 7360848, 26906828, 95776772, 403908975, 1421758720, 5072014447, 18481180644, 68350964211, 246180936400, 827642046294, 2958748580084, 10294629775620, 36607347335232, 120800714172500, 407951731319860, 1405943613730899
Offset: 0

Views

Author

Ilya Gutkovskiy, Jan 31 2018

Keywords

Crossrefs

Programs

  • Mathematica
    Table[SeriesCoefficient[Product[(1 + n x^k)^k, {k, 1, n}], {x, 0, n}], {n, 0, 27}]
Showing 1-3 of 3 results.