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

A034092
Number of partitions of n into 3 distinct parts from [ 1,39 ].
1
0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 5, 7, 8, 10, 12, 14, 16, 19, 21, 24, 27, 30, 33, 37, 40, 44, 48, 52, 56, 61, 65, 70, 75, 80, 85, 91, 96, 102, 108, 114, 120, 127, 132, 138, 143, 148, 152, 157, 160, 164, 167, 170, 172, 175, 176, 178, 179, 180, 180, 181, 180, 180, 179, 178
OFFSET
0,9
COMMENTS
Useful for lottery players playing TAKE 5 in NY (1...39).
LINKS
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
Sequence in context: A034162 A034163 A242678 * A211540 A001399 A069905
KEYWORD
nonn,easy,fini,full
AUTHOR
Edwin Carrasquillo (ecmail(AT)idt.net)
EXTENSIONS
Extended by Ray Chandler, Dec 16 2008
STATUS
approved