login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Expansion of (1+x^2)/(1+x^2+x^5).
4

%I #17 Jan 08 2023 11:10:23

%S 1,0,0,0,0,-1,0,1,0,-1,1,1,-2,-1,3,0,-4,2,5,-5,-5,9,3,-14,2,19,-11,

%T -22,25,20,-44,-9,66,-16,-86,60,95,-126,-79,212,19,-307,107,386,-319,

%U -405,626,298,-1012,21,1417,-647,-1715,1659,1694,-3076,-1047,4791,-612,-6485,3688,7532,-8479,-6920,14964,3232

%N Expansion of (1+x^2)/(1+x^2+x^5).

%H Robert Israel, <a href="/A088002/b088002.txt">Table of n, a(n) for n = 0..10000</a>

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,-1,0,0,-1)

%p f:= gfun:-rectoproc({a(n+5)=-a(n)-a(n+3),a(0)=1,

%p seq(a(i)=0,i=1..4)},a(n),remember):

%p map(f, [$1..100]); # _Robert Israel_, Jul 18 2016

%t CoefficientList[Series[(1+x^2)/(1+x^2+x^5),{x,0,80}],x] (* or *) LinearRecurrence[ {0,-1,0,0,-1},{1,0,0,0,0},80] (* _Harvey P. Dale_, Jan 08 2023 *)

%o (PARI) Vec((1+x^2)/(1+x^2+x^5)+O(x^99)) \\ _Charles R Greathouse IV_, Sep 26 2012

%Y Cf. A011746.

%K sign,easy

%O 0,13

%A _N. J. A. Sloane_, Nov 02 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 23 17:39 EDT 2024. Contains 376178 sequences. (Running on oeis4.)