login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A282582 Number of compositions (ordered partitions) of n into tetrahedral (or triangular pyramidal) numbers (A000292). 16
1, 1, 1, 1, 2, 3, 4, 5, 7, 10, 15, 21, 29, 40, 57, 81, 114, 159, 223, 314, 444, 625, 878, 1233, 1736, 2445, 3441, 4838, 6804, 9573, 13473, 18957, 26668, 37514, 52780, 74264, 104488, 147000, 206808, 290961, 409369, 575955, 810314, 1140029, 1603924, 2256603, 3174867, 4466763, 6284339, 8841533, 12439323 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
Eric Weisstein's World of Mathematics, Tetrahedral Number
FORMULA
G.f.: 1/(1 - Sum_{k>=1} x^(k*(k+1)*(k+2)/6)).
EXAMPLE
a(8) = 7 because we have [4, 4], [4, 1, 1, 1, 1], [1, 4, 1, 1, 1], [1, 1, 4, 1, 1], [1, 1, 1, 4, 1], [1, 1, 1, 1, 4] and [1, 1, 1, 1, 1, 1, 1, 1].
MATHEMATICA
nmax = 50; CoefficientList[Series[1/(1 - Sum[x^(k (k + 1) (k + 2)/6), {k, 1, nmax}]), {x, 0, nmax}], x]
PROG
(PARI) Vec(1/(1 - sum(k=1, 50, x^(k*(k + 1)*(k + 2)/6)) + O(x^51))) \\ Indranil Ghosh, Mar 15 2017
CROSSREFS
Sequence in context: A107586 A206737 A275174 * A282502 A212463 A130080
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 19 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 14:32 EDT 2024. Contains 371914 sequences. (Running on oeis4.)