login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A133190 a(n) = 2a(n-1) - a(n-2) + 2a(n-3). 1
1, 3, 3, 5, 13, 27, 51, 101, 205, 411, 819, 1637, 3277, 6555, 13107, 26213, 52429, 104859, 209715, 419429, 838861, 1677723, 3355443, 6710885, 13421773, 26843547, 53687091, 107374181, 214748365, 429496731, 858993459, 1717986917, 3435973837 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..32.

Index entries for linear recurrences with constant coefficients, signature (2,-1,2).

FORMULA

O.g.f.: (2*x+1)*(x-1)/((2*x-1)*(x^2+1)). a(n) = (4*2^n+(-1)^[n/2]*A010688(n))/5. - R. J. Mathar, Jan 13 2008

a(n)=[1/10-(7/10)*I]*I^n+(4/5)*2^n+[1/10+(7/10)*I]*(-I)^n, with n>=0 and I=sqrt(-1). - Paolo P. Lava, Jun 09 2008

MAPLE

A010688 := proc(n) if n mod 2 = 0 then 1; else 7; fi ; end:

A133190 := proc(n) (4*2^n+(-1)^floor(n/2)*A010688(n))/5 ; end:

seq(A133190(n), n=0..30) ; # R. J. Mathar, Jan 13 2008

CROSSREFS

Sequence in context: A144419 A212322 A226921 * A052898 A183483 A218663

Adjacent sequences:  A133187 A133188 A133189 * A133191 A133192 A133193

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Dec 17 2007

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 03:26 EDT 2019. Contains 322380 sequences. (Running on oeis4.)