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!)
A135350 a(n) = 2*a(n-1) - a(n-3) + 2*a(n-4). 2
0, 1, 3, 8, 15, 29, 56, 113, 227, 456, 911, 1821, 3640, 7281, 14563, 29128, 58255, 116509, 233016, 466033, 932067, 1864136, 3728271, 7456541, 14913080, 29826161, 59652323, 119304648, 238609295, 477218589, 954437176, 1908874353, 3817748707 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
From R. J. Mathar, Feb 19 2008: (Start)
O.g.f.: (1/9)*(-3*(x+2)/(x^2-x+1) - 8/(2*x-1) - 2/(x+1)).
a(n) = (1/9)*(2*(-1)^(n+1) + 2^(n+3) + 3*A117373(n+1)). (End)
MAPLE
A117373 := proc(n) coeftayl( (1-3*x)/(1-x+x^2), x=0, n) ; end: A135350 := proc(n) 2*(-1)^(n+1)/9+2^(n+3)/9+A117373(n+1)/3 ; end: seq(A135350(n), n=0..10) ; # R. J. Mathar, Feb 19 2008
MATHEMATICA
LinearRecurrence[{2, 0, -1, 2}, {0, 1, 3, 8}, 25] (* G. C. Greubel, Oct 11 2016 *)
CROSSREFS
Cf. A117373.
Sequence in context: A015631 A116686 A317252 * A068038 A196087 A295735
KEYWORD
nonn
AUTHOR
Paul Curtz, Feb 16 2008
EXTENSIONS
More terms from R. J. Mathar, Feb 19 2008
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 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)