OFFSET
0,2
LINKS
Henry Bottomley, Partition and composition calculator.
G. P. Michon, Partition Function
FORMULA
EXAMPLE
a(2)=11 because the number of partitions of 6 is 11.
MAPLE
with(combinat); [seq(numbpart(n*(n+1)), n=1..20)];
with(combinat): seq(numbpart(n*(n+1)), n=0..21);
MATHEMATICA
Table[PartitionsP[n*(n+1)], {n, 0, 21}] (* James C. McMahon, Sep 30 2024 *)
PROG
(PARI) a(n)=numbpart(n^2+n) /* Michael Somos, Jul 24 2006 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Zerinvary Lajos, Jun 29 2006
EXTENSIONS
STATUS
approved