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!)
A089074 Expansion of x*(1 + x + x^2)/(1 - 2*x + x^5). 3
0, 1, 3, 7, 14, 28, 55, 107, 207, 400, 772, 1489, 2871, 5535, 10670, 20568, 39647, 76423, 147311, 283952, 547336, 1055025, 2033627, 3919943, 7555934, 14564532, 28074039, 54114451, 104308959, 201061984, 387559436, 747044833, 1439975215 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
From N. J. A. Sloane, Dec 05, 2003: (Start)
G.f.: x*(1+x+x^2)/(1-2*x+x^5).
a(n) = 2*a(n-1) - a(n-5) for n >= 6. (End)
a(n) = A000078(n+4) - 1. - G. C. Greubel, Feb 19 2021
MATHEMATICA
CoefficientList[Series[x*(1+x+x^2)/(1-2*x+x^5), {x, 0, 50}], x] (* G. C. Greubel, Feb 19 2021 *)
PROG
(Sage)
def A089074_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( x*(1+x+x^2)/(1-2*x+x^5) ).list()
a=A089074_list(51); a[1:] # G. C. Greubel, Feb 19 2021
(Magma)
R<x>:=PowerSeriesRing(Integers(), 50);
Coefficients(R!( x*(1+x+x^2)/(1-2*x+x^5) )); // G. C. Greubel, Feb 19 2021
CROSSREFS
Sequence in context: A339655 A140741 A088209 * A125176 A153234 A293334
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Dec 04 2003
EXTENSIONS
Title and offset changed by G. C. Greubel, Feb 19 2021
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 April 25 06:49 EDT 2024. Contains 371964 sequences. (Running on oeis4.)