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.

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

Original entry on oeis.org

2, 1, 8, 4, 32, 16, 128, 64, 512, 256, 2048, 1024, 8192, 4096, 32768, 16384, 131072, 65536, 524288, 262144, 2097152, 1048576, 8388608, 4194304, 33554432, 16777216, 134217728, 67108864, 536870912, 268435456, 2147483648, 1073741824
Offset: 0

Views

Author

Paul Curtz, Feb 19 2008

Keywords

Crossrefs

Programs

Formula

From R. J. Mathar, corrected Apr 14 2008: (Start)
O.g.f.: (5/(1-2*x) + 3/(1+2*x))/4.
a(n) = (5*2^n + 3*(-2)^n)/4.
a(2*n)=2*A000302(n). a(2*n+1)=A000302(n). (End)
a(n) = A000079(n) terms swapped by pairs. - Paul Curtz, Apr 26 2011
a(n) = 2^(n+(-1)^n). - Wesley Ivan Hurt, Dec 13 2013
E.g.f.: (1/4)*(5*exp(2*x) + 3*exp(-2*x)). - G. C. Greubel, Oct 17 2016

Extensions

More terms from R. J. Mathar, Feb 23 2008