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

%I #8 Jan 22 2024 00:04:51

%S 1,-1,1,0,1,1,3,4,9,15,29,53,100,186,352,663,1257,2387,4547,8678,

%T 16602,31818,61092,117486,226277,436403,842731,1629297,3153466,

%U 6109704,11848634,22998892,44680016,86869392,169024094,329110519,641254825,1250261783,2439155631

%N Expansion of (1 - x)^2 * Sum_{j>=0} (x^j / (1 - Sum_{k=1..j} x^k)).

%C 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.

%F a(n) = A368279(n) - A368279(n-1) where A368279(-1) = 0.

%p gf := (1 - x)^2 * add(x^j / (1 - add(x^k, k = 1..j)), j = 0..42):

%p ser := series(gf, x, 40): seq(coeff(ser, x, k), k = 0..38);

%Y Cf. A369115 (n=-2), A186537 left shifted (n=-1), A079500 (n=0), A368279 (n=1), this sequence (n=2).

%K sign

%O 0,7

%A _Peter Luschny_, Jan 21 2024

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 30 02:18 EDT 2024. Contains 374734 sequences. (Running on oeis4.)