[go: up one dir, main page]

login
A061676
Triangle T(n,k) of number of ways of throwing k standard dice to produce a total of n.
2
1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 4, 6, 4, 1, 1, 5, 10, 10, 5, 1, 0, 6, 15, 20, 15, 6, 1, 0, 5, 21, 35, 35, 21, 7, 1, 0, 4, 25, 56, 70, 56, 28, 8, 1, 0, 3, 27, 80, 126, 126, 84, 36, 9, 1, 0, 2, 27, 104, 205, 252, 210, 120, 45, 10, 1, 0, 1, 25, 125, 305, 456, 462, 330, 165, 55, 11, 1
OFFSET
1,5
FORMULA
T(n, k)=T(n-1, k-1)+T(n-2, k-1)+T(n-3, k-1)+T(n-4, k-1)+T(n-5, k-1)+T(n-6, k-1) starting with T(0, 0)=1. T(n, k)=T(7k-n, k); if n>6k or n<k, T(n, k)=0; if n<k+6, T(n, k)=C(n-1, k-1); if n>6k-6, T(n, k)=C(7k-n-1, k-1); T([7k/2], k)=A018901(k).
EXAMPLE
Rows start: 1; 1,1; 1,2,1; 1,3,3,1; 1,4,6,4,1; 1,5,10,10,5,1; 0,6,15,20,15,6,1; 0,5,21,35,35,21,7,1; etc. T(8,2)=5 since 8 =2+6 =3+5 =4+4 =5+3 =6+2.
CROSSREFS
First 21 terms as A007318 (see formula). Cf. A001592, A069713.
Sequence in context: A089239 A223968 A214846 * A180182 A275198 A095145
KEYWORD
nonn,tabl
AUTHOR
Henry Bottomley, Apr 01 2002
STATUS
approved