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!)
A136324 Interleaving of A002450(n), A002450(n) + 1. 3
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
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: A184594 A341756 A014454 * A128367 A178924 A303659
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)