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”).

A066448
Triangle T(n,k) giving number of basis partitions of n with a Durfee square of order k (n >= 0, 0 <= k <= n).
3
1, 0, 1, 0, 2, 0, 0, 2, 0, 0, 0, 2, 1, 0, 0, 0, 2, 2, 0, 0, 0, 0, 2, 4, 0, 0, 0, 0, 0, 2, 6, 0, 0, 0, 0, 0, 0, 2, 8, 0, 0, 0, 0, 0, 0, 0, 2, 10, 1, 0, 0, 0, 0, 0, 0, 0, 2, 12, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 14, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 16, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
0,5
LINKS
J. M. Nolan, C. D. Savage and H. S. Wilf, Basis partitions, Discrete Math. 179 (1998), 277-283.
EXAMPLE
Triangle begins:
1;
0, 1;
0, 2, 0;
0, 2, 0, 0;
0, 2, 1, 0, 0;
0, 2, 2, 0, 0, 0;
0, 2, 4, 0, 0, 0, 0;
0, 2, 6, 0, 0, 0, 0, 0;
0, 2, 8, 0, 0, 0, 0, 0, 0;
...
MAPLE
T := proc(n, d); option remember; if n=0 and d=0 then RETURN(1) elif n<=0 or d<=0 then RETURN(0) else RETURN(T(n-d, d)+T(n-2*d+1, d-1)+T(n-3*d+1, d-1)) fi:
PROG
(PARI) T(n, k)=if(k<0||k>n, 0, if(k==0, n==0, T(n-k, k)+T(n-2*k+1, k-1)+T(n-3*k+1, k-1))) /* Michael Somos, Mar 10 2004 */
CROSSREFS
Row sums give A066447.
Sequence in context: A134013 A112301 A136521 * A108497 A108498 A178923
KEYWORD
nonn,tabl
AUTHOR
N. J. A. Sloane, Dec 29 2001
STATUS
approved