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.

A007910 Expansion of 1/((1-2*x)*(1+x^2)).

Original entry on oeis.org

1, 2, 3, 6, 13, 26, 51, 102, 205, 410, 819, 1638, 3277, 6554, 13107, 26214, 52429, 104858, 209715, 419430, 838861, 1677722, 3355443, 6710886, 13421773, 26843546, 53687091, 107374182, 214748365, 429496730, 858993459, 1717986918, 3435973837, 6871947674
Offset: 0

Views

Author

Mogens Esrom Larsen (mel(AT)math.ku.dk)

Keywords

Comments

Also describes the location a(n) of the minimal scaling factor when rescaling an FFT of order 2^{n+2} in order to (currently) minimize the arithmetic operation count (Johnson & Frigo, 2007). - Steven G. Johnson (stevenj(AT)math.mit.edu), Dec 27 2006

References

  • M. E. Larsen, Summa Summarum, A. K. Peters, Wellesley, MA, 2007; see p. 38.

Crossrefs

Programs

Formula

a(0) = 1, a(2n+1) = 2*a(2n) and a(2n) = 2*a(2n-1) + (-1)^n. [Corrected by M. F. Hasler, Feb 22 2018]
a(n) = (4*2^n+cos(Pi*n/2)+2*sin(Pi*n/2))/5. - Paul Barry, Dec 17 2003
a(n) = 2a(n-1)-a(n-2)+2a(n-3). Sequence equals half its second differences with first term dropped. a(n) + a(n+2) = 2^(n+2). - Paul Curtz, Dec 17 2007
a(n) = round(2^(n+2)/5). - Mircea Merca, Dec 27 2010
a(n) = Sum_{k=0..floor(n/2)} (-1)^k*2^(n-2*k). - Gerry Martens, Oct 15 2022

Extensions

Entry revised by N. J. A. Sloane, Feb 24 2004
Offset corrected and minor edits by M. F. Hasler, Feb 22 2018