OFFSET
0,9
COMMENTS
Useful for lottery players playing TAKE 5 in NY (1...39).
LINKS
Sean A. Irvine, Table of n, a(n) for n = 0..114
FORMULA
Coefficient of t^3 in (1+tx)(1+tx^2)(1+tx^3)...(1+tx^39).
a(n) = 0 for all n > 114. - Sean A. Irvine, Aug 02 2020
EXAMPLE
a(6)=1, since 6 = 1+2+3.
MATHEMATICA
CoefficientList[Coefficient[Product[1+t*x^i, {i, 39}], t^3], x] (* Ray Chandler, Dec 16 2008 *)
CROSSREFS
KEYWORD
nonn,easy,fini,full
AUTHOR
Edwin Carrasquillo (ecmail(AT)idt.net)
EXTENSIONS
Extended by Ray Chandler, Dec 16 2008
STATUS
approved