The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A052922 Expansion of 1/(1 - 2*x^3 - x^4). 1
 1, 0, 0, 2, 1, 0, 4, 4, 1, 8, 12, 6, 17, 32, 24, 40, 81, 80, 104, 202, 241, 288, 508, 684, 817, 1304, 1876, 2318, 3425, 5056, 6512, 9168, 13537, 18080, 24848, 36242, 49697, 67776, 97332, 135636, 185249, 262440, 368604, 506134, 710129, 999648, 1380872 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,4 LINKS G. C. Greubel, Table of n, a(n) for n = 0..1000 INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 907 Index entries for linear recurrences with constant coefficients, signature (0,0,2,1). FORMULA G.f.: 1/(1 - 2*x^3 - x^4). a(n) = 2*a(n-3) + a(n-4), with a(0)=1, a(1)=0, a(2)=0, a(3)=2. a(n) = Sum_{alpha=RootOf(-1+2*z^3+z^4)} (1/86)*(4 +26*alpha -3*alpha^2 -6*alpha^3)*alpha^(-1-n). MAPLE spec := [S, {S=Sequence(Prod(Z, Z, Union(Z, Z, Prod(Z, Z))))}, unlabeled]: seq(combstruct[count](spec, size=n), n=0..50); seq(coeff(series(1/(1 -2*x^3 -x^4), x, n+1), x, n), n = 0..50); # G. C. Greubel, Oct 16 2019 MATHEMATICA LinearRecurrence[{0, 0, 2, 1}, {1, 0, 0, 2}, 50] (* G. C. Greubel, Oct 16 2019 *) PROG (PARI) my(x='x+O('x^50)); Vec(1/(1 -2*x^3 -x^4)) \\ G. C. Greubel, Oct 16 2019 (MAGMA) R:=PowerSeriesRing(Integers(), 50); Coefficients(R!( 1/(1 -2*x^3 -x^4) )); // G. C. Greubel, Oct 16 2019 (Sage) def A052922_list(prec):     P. = PowerSeriesRing(ZZ, prec)     return P(1/(1 -2*x^3 -x^4)).list() A052922_list(50) # G. C. Greubel, Oct 16 2019 (GAP) a:=[1, 0, 0, 2];; for n in [5..50] do a[n]:=2*a[n-3]+a[n-4]; od; a; # G. C. Greubel, Oct 16 2019 CROSSREFS Sequence in context: A158454 A049243 A077908 * A181930 A256797 A109167 Adjacent sequences:  A052919 A052920 A052921 * A052923 A052924 A052925 KEYWORD easy,nonn AUTHOR encyclopedia(AT)pommard.inria.fr, Jan 25 2000 EXTENSIONS More terms from James A. Sellers, Jun 05 2000 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified March 31 19:37 EDT 2020. Contains 333151 sequences. (Running on oeis4.)