A000991 Number of 3-line partitions of n.
1, 1, 3, 6, 12, 21, 40, 67, 117, 193, 319, 510, 818, 1274, 1983, 3032, 4610, 6915, 10324, 15235, 22371, 32554, 47119, 67689, 96763, 137404, 194211, 272939, 381872, 531576, 736923, 1016904, 1397853, 1913561, 2610023, 3546507, 4802694, 6481101, 8718309, 11689929, 15627591, 20828892
Offset: 0
Keywords
References
- L. Carlitz, Generating functions and partition problems, pp. 144-169 of A. L. Whiteman, ed., Theory of Numbers, Proc. Sympos. Pure Math., 8 (1965). Amer. Math. Soc., see p. 145, eq. (1.8).
- N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
Links
- Vaclav Kotesovec, Table of n, a(n) for n = 0..6000 (first 1000 terms from Alois P. Heinz)
- M. S. Cheema and B. Gordon, Some remarks on two- and three-line partitions, Duke Math. J., 31 (1964), 267-273.
- P. A. MacMahon, The connexion between the sum of the squares of the divisors and the number of partitions of a given number, Messenger Math., 54 (1924), 113-116.
Crossrefs
Programs
-
Magma
m:=50; R
:=PowerSeriesRing(Integers(), m); Coefficients(R!( (1-x)^2*(1-x^2)/(&*[1-x^j: j in [1..2*m]])^3 )); // G. C. Greubel, Dec 06 2018 -
Maple
b:= proc(n,i) option remember; `if`(n=0, 1, `if`(i<1, 0, add(binomial(min(i, 3)+j-1, j)*b(n-i*j, i-1), j=0..n/i))) end: a:= n-> b(n$2): seq(a(n), n=0..45); # Alois P. Heinz, Mar 15 2014
-
Mathematica
b[n_, i_] := b[n, i] = If[n == 0, 1, If[i<1, 0, Sum[Binomial[Min[i, 3]+j-1, j]*b[n-i*j, i-1], {j, 0, n/i}]]]; a[n_] := b[n, n]; Table[a[n], {n, 0, 45}] (* Jean-François Alcover, Mar 20 2014, after Alois P. Heinz *) nmax = 40; CoefficientList[Series[(1-x)^2 * (1-x^2) * Product[1/(1-x^k)^3, {k,1,nmax}], {x,0,nmax}], x] (* Vaclav Kotesovec, Oct 28 2015 *)
-
PARI
x='x+O('x^66); Vec((1-x)^2*(1-x^2)/eta(x)^3) \\ Joerg Arndt, May 01 2013
-
Sage
R = PowerSeriesRing(ZZ, 'x') x = R.gen().O(50) s = (1-x)^2 * (1-x^2) / prod(1-x^j for j in (1..60))^3 s.coefficients() # G. C. Greubel, Dec 06 2018
Formula
G.f.: (1-x)^2 * (1-x^2) / Product_(k>=1, 1-x^k )^3.
For n>=4, a(n) = A000716(n) - 2*A000716(n-1) + 2*A000716(n-3) - A000716(n-4). - Vaclav Kotesovec, Oct 28 2015
a(n) ~ Pi^3 * exp(Pi*sqrt(2*n)) / (16*n^3). - Vaclav Kotesovec, Oct 28 2015
Extensions
G.f. corrected by Sean A. Irvine, Oct 19 2011
G.f. corrected by Joerg Arndt, May 01 2013
Prepended a(0)=1, added more terms, Joerg Arndt, May 01 2013
Comments