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!)
A301502 Number of compositions (ordered partitions) of n into triangular parts (A000217) such that no two adjacent parts are equal (Carlitz compositions). 1
1, 1, 0, 1, 2, 1, 1, 3, 3, 3, 7, 9, 6, 10, 20, 20, 20, 36, 50, 54, 75, 109, 126, 156, 233, 302, 352, 480, 676, 838, 1053, 1447, 1896, 2374, 3152, 4225, 5368, 6923, 9297, 12133, 15472, 20353, 26959, 34779, 45092, 59551, 77717, 100475, 131714, 172949, 224316, 291987, 383418 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
G.f.: 1/(1 - Sum_{k>=1} x^(k*(k+1)/2)/(1 + x^(k*(k+1)/2))).
EXAMPLE
a(12) = 6 because we have [3, 6, 3], [3, 1, 3, 1, 3, 1], [1, 10, 1], [1, 6, 1, 3, 1], [1, 3, 1, 6, 1] and [1, 3, 1, 3, 1, 3].
MATHEMATICA
nmax = 52; CoefficientList[Series[1/(1 - Sum[x^(k (k + 1)/2)/(1 + x^(k (k + 1)/2)), {k, 1, nmax}]), {x, 0, nmax}], x]
CROSSREFS
Sequence in context: A284828 A101417 A318660 * A260056 A269699 A035636
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 22 2018
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 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)