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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139763 a(n)=a(n-1)+a(n-2)+a(n-3)+2a(n-4) with a(n)=n+1 for n<=3. 2
1, 2, 3, 4, 11, 22, 43, 84, 171, 342, 683, 1364, 2731, 5462, 10923, 21844, 43691, 87382, 174763, 349524, 699051, 1398102, 2796203, 5592404, 11184811, 22369622 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

LINKS

Index to sequences with linear recurrences with constant coefficients, signature (1,1,1,2)

FORMULA

a(n+1)-2a(n)=period 4:repeat 0, -1, -2, 3.

O.g.f.: (x-1)*(2*x^2+2*x+1)/((2*x-1)(1+x)(x^2+1)). a(n) = A056594(n+3)+((-1)^n+2^(n+1))/3. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 22 2008

a(n)=2*a(n-1)+(1/4)*{-5*(n mod 4)+[(n+1) mod 4]+[(n+2) mod 4]+3*[(n+3) mod 4]}, a(0)=1 and n>=1 - Paolo P. Lava (paoloplava(AT)gmail.com), Jun 03 2008

a(n)=-(1/2*I)*I^n+(1/3)*(-1)^n+(2/3)*2^n+(1/2*I)*(-I)^n, with n>=0 and I=(-1)^(1/2) - Paolo P. Lava (paoloplava(AT)gmail.com), Jun 03 2008

CROSSREFS

Sequence in context: A104109 A066347 A118596 * A037396 A037432 A116054

Adjacent sequences:  A139760 A139761 A139762 * A139764 A139765 A139766

KEYWORD

nonn

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), May 20 2008

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 22 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 20:48 EST 2012. Contains 206085 sequences.