login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A136324 Interleaving of A002450(n), A002450(n) + 1. 2
0, 1, 1, 2, 5, 6, 21, 22, 85, 86, 341, 342, 1365, 1366, 5461, 5462, 21845, 21846, 87381, 87382, 349525, 349526, 1398101, 1398102, 5592405, 5592406, 22369621, 22369622, 89478485, 89478486, 357913941 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

FORMULA

a(n) = 5*a(n-2) - 4*a(n-4).

From Lambert Herrgesell (zero815(AT)googlemail.com), Apr 19 2008: (Start)

a(n) = 1/6 - (1/2)*(-1)^n + (1/4)*2^n + (1/12)*(-2)^n;

g.f.: (-3*x^3 + x^2 + x)/(4*x^4 - 5*x^2 + 1). (End)

PROG

(MAGMA) [1/6 - (1/2)*(-1)^n + (1/4)*2^n + (1/12)*(-2)^n: n in [0..40]]; // Vincenzo Librandi, Aug 09 2011

CROSSREFS

Sequence in context: A248719 A184594 A014454 * A128367 A178924 A303659

Adjacent sequences:  A136321 A136322 A136323 * A136325 A136326 A136327

KEYWORD

nonn

AUTHOR

Paul Curtz, Mar 26 2008

EXTENSIONS

More terms from Lambert Herrgesell (zero815(AT)googlemail.com), Apr 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 18 19:38 EST 2020. Contains 331029 sequences. (Running on oeis4.)