cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A136324 Interleaving of A002450(n), A002450(n) + 1.

Original entry on oeis.org

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
Offset: 0

Views

Author

Paul Curtz, Mar 26 2008

Keywords

Programs

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

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)

Extensions

More terms from Lambert Herrgesell (zero815(AT)googlemail.com), Apr 19 2008