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!)
A280352 Expansion of Sum_{k>=1} (x/(1 - x))^(k*(k+1)/2). 3
1, 1, 2, 4, 7, 12, 22, 43, 85, 164, 308, 573, 1079, 2081, 4097, 8129, 16049, 31315, 60402, 115806, 222416, 430791, 843987, 1670054, 3322167, 6606936, 13078586, 25714238, 50230292, 97708338, 189921842, 370216757, 725680489, 1431888173, 2842060970, 5662371069 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Number of compositions of n into a triangular number of parts.
LINKS
FORMULA
G.f.: Sum_{k>=1} (x/(1-x))^(k*(k+1)/2).
a(n) = Sum_{k=1..floor((sqrt(8*n+1)-1)/2)} binomial(n-1, k*(k+1)/2-1). - Jerzy R Borysowicz, Dec 26 2022
Conjecture: a(n+1)/a(n) ~ 2. - Jerzy R Borysowicz, Jan 14 2023
Conjecture: abs(b(n)-1) < 0.015, where b(n) = a(n)*sqrt(n)/2^(n-1), for n > 781; b(n) does not have a limit. - Jerzy R Borysowicz, Feb 17 2023
EXAMPLE
a(5) = 7 because we have:
[1] [5]
[2] [3, 1, 1]
[3] [1, 3, 1]
[4] [1, 1, 3]
[5] [2, 2, 1]
[6] [2, 1, 2]
[7] [1, 2, 2]
MATHEMATICA
nmax = 36; Rest[CoefficientList[Series[Sum[(x/(1 - x))^(k (k + 1)/2), {k, 1, nmax}], {x, 0, nmax}], x]]
nmax = 40; Rest[CoefficientList[Series[-1 + EllipticTheta[2, 0, Sqrt[x/(1-x)]]/(2*(x/(1-x))^(1/8)), {x, 0, nmax}], x]] (* Vaclav Kotesovec, Jan 01 2017 *)
PROG
(PARI) a(n) = sum(k=1, (sqrtint(8*n+1)-1)\2, binomial(n-1, k*(k+1)/2-1)) \\ Andrew Howroyd, Jan 14 2023
CROSSREFS
Sequence in context: A127542 A023432 A072641 * A135360 A347017 A082548
KEYWORD
nonn,easy
AUTHOR
Ilya Gutkovskiy, Jan 01 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 July 13 06:34 EDT 2024. Contains 374267 sequences. (Running on oeis4.)