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!)
A304907 Expansion of x * (d/dx) 1/(1 - Sum_{k>=1} x^k/(1 + x^k)). 0
0, 1, 2, 9, 16, 35, 84, 161, 312, 639, 1240, 2354, 4536, 8593, 16128, 30360, 56672, 105213, 195174, 360582, 664040, 1220730, 2238324, 4095035, 7479552, 13636750, 24821108, 45114813, 81887008, 148438211, 268763160, 486082263, 878200416, 1585098372, 2858378368, 5149986275 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Sum of all parts of all Carlitz compositions (compositions without adjacent equal parts) of n.
LINKS
FORMULA
a(n) = n*A003242(n).
MATHEMATICA
nmax = 35; CoefficientList[Series[x D[1/(1 - Sum[x^k/(1 + x^k), {k, 1, nmax}]), x], {x, 0, nmax}], x]
a[n_] := a[n] = If[n == 0, 1, Sum[Sum[-(-1)^d, {d, Divisors[k]}] a[n - k], {k, 1, n}]]; Table[n a[n], {n, 0, 35}]
CROSSREFS
Sequence in context: A248434 A275395 A213389 * A237282 A178440 A097965
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 20 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 May 8 14:51 EDT 2024. Contains 372334 sequences. (Running on oeis4.)