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.

A105723 a(n) = 3^n - (-1)^n.

Original entry on oeis.org

0, 4, 8, 28, 80, 244, 728, 2188, 6560, 19684, 59048, 177148, 531440, 1594324, 4782968, 14348908, 43046720, 129140164, 387420488, 1162261468, 3486784400, 10460353204, 31381059608, 94143178828, 282429536480, 847288609444, 2541865828328, 7625597484988
Offset: 0

Views

Author

Reinhard Zumkeller, Apr 18 2005

Keywords

Crossrefs

Programs

Formula

a(n) = A102345(n) - 2*(-1)^n; (a(n) + A102345(n))/2 = A000244(n);
A007814(a(n)) = A085058(n-1) for n > 0.
E.g.f.: exp(3*x) - exp(-x). - G. C. Greubel, Nov 21 2018
G.f.: 4*x/((1+x)*(1-3*x)). - R. J. Mathar, Mar 08 2021
a(n) = 4*A015518(n). - R. J. Mathar, Mar 08 2021

Extensions

Corrected by T. D. Noe, Dec 11 2006