login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A061197
Table by antidiagonals T(n,k) of number of partitions of k where the largest part is less than or equal to n and where there are no more than two of any particular sized part.
1
1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 2, 1, 1, 0, 0, 1, 2, 1, 1, 0, 0, 2, 2, 2, 1, 1, 0, 0, 1, 3, 2, 2, 1, 1, 0, 0, 1, 3, 4, 2, 2, 1, 1, 0, 0, 0, 3, 4, 4, 2, 2, 1, 1, 0, 0, 0, 3, 5, 5, 4, 2, 2, 1, 1, 0, 0, 0, 3, 5, 6, 5, 4, 2, 2, 1, 1, 0, 0, 0, 2, 7, 7, 7, 5, 4, 2, 2, 1, 1, 0, 0, 0, 2, 6, 9, 8, 7, 5, 4, 2, 2, 1, 1
OFFSET
0,13
FORMULA
T(n, k) = T(n-1, k) + T(n-1, k-n) + T(n-1, k-2*n) with T(0, 0)=1 and T(n, k)=0 if n or k are negative. [Corrected by Sean A. Irvine, Jan 24 2023]
EXAMPLE
Table begins:
1, 0, 0, 0, 0, 0, ...,
1, 1, 1, 0, 0, 0, ...,
1, 1, 2, 1, 2, 1, ...,
1, 1, 2, 2, 3, 3, ...,
...
T(3,5)=3 since 5 can be written as 3+2 or 3+1+1 or 2+2+1.
CROSSREFS
Main diagonal is A000726.
Sequence in context: A249609 A232442 A107110 * A196346 A261884 A035178
KEYWORD
nonn,tabl
AUTHOR
Henry Bottomley, Apr 20 2001
STATUS
approved