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!)
A369116 Expansion of (1 - x)^2 * Sum_{j>=0} (x^j / (1 - Sum_{k=1..j} x^k)). 2
1, -1, 1, 0, 1, 1, 3, 4, 9, 15, 29, 53, 100, 186, 352, 663, 1257, 2387, 4547, 8678, 16602, 31818, 61092, 117486, 226277, 436403, 842731, 1629297, 3153466, 6109704, 11848634, 22998892, 44680016, 86869392, 169024094, 329110519, 641254825, 1250261783, 2439155631 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
COMMENTS
Considering more generally the family of generating functions (1 - x)^n * Sum_{j>=0} (x^j / (1 - Sum_{k=1..j} x^k)) one finds several sequences related to compositions as indicated in the cross-references.
LINKS
FORMULA
a(n) = A368279(n) - A368279(n-1) where A368279(-1) = 0.
MAPLE
gf := (1 - x)^2 * add(x^j / (1 - add(x^k, k = 1..j)), j = 0..42):
ser := series(gf, x, 40): seq(coeff(ser, x, k), k = 0..38);
CROSSREFS
Cf. A369115 (n=-2), A186537 left shifted (n=-1), A079500 (n=0), A368279 (n=1), this sequence (n=2).
Sequence in context: A216075 A253197 A255064 * A165921 A030136 A320797
KEYWORD
sign
AUTHOR
Peter Luschny, Jan 21 2024
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 29 22:36 EDT 2024. Contains 374734 sequences. (Running on oeis4.)