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!)
A110307 Expansion of (1+2*x)/((1+x+x^2)*(1+5*x+x^2)). 5
1, -4, 17, -80, 384, -1842, 8827, -42292, 202631, -970862, 4651680, -22287540, 106786021, -511642564, 2451426797, -11745491420, 56276030304, -269634660102, 1291897270207, -6189851690932, 29657361184451, -142096954231322, 680827409972160, -3262040095629480 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n+2) = - 5*a(n+1) - a(n) - A099837(n+1).
a(n) + a(n+1) + a(n+2) = A002320(n).
a(n) = -6*a(n-1) - 7*a(n-2) - 6*a(n-3) - a(n-4) for n>3. - Colin Barker, Apr 30 2019
a(n) = (1/4)*(3*U(n,-5/2) + U(n-1,-5/2) + U(n,-1/2) - U(n-1,-1/2)), where U(n, x) = ChebyshevU(n, x). - G. C. Greubel, Jan 03 2023
MAPLE
seriestolist(series((1+2*x)/((x^2+x+1)*(x^2+5*x+1)), x=0, 25));
MATHEMATICA
LinearRecurrence[{-6, -7, -6, -1}, {1, -4, 17, -80}, 41] (* G. C. Greubel, Jan 03 2023 *)
PROG
(PARI) Vec((1+2*x)/((1+x+x^2)*(1+5*x+x^2)) + O(x^25)) \\ Colin Barker, Apr 30 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 30); Coefficients(R!( (1+2*x)/((1+x+x^2)*(1+5*x+x^2)) )); // G. C. Greubel, Jan 03 2023
(SageMath)
def U(n, x): return chebyshev_U(n, x)
def A110307(n): return (1/4)*(3*U(n, -5/2) +U(n-1, -5/2) +U(n, -1/2) -U(n-1, -1/2))
[A110307(n) for n in range(41)] # G. C. Greubel, Jan 03 2023
CROSSREFS
Sequence in context: A151249 A289924 A218134 * A206228 A089165 A056096
KEYWORD
easy,sign
AUTHOR
Creighton Dement, Jul 19 2005
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 24 19:39 EDT 2024. Contains 371963 sequences. (Running on oeis4.)