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.

A133125 a(n) = (7*3^n - (-3)^n)/6.

Original entry on oeis.org

1, 4, 9, 36, 81, 324, 729, 2916, 6561, 26244, 59049, 236196, 531441, 2125764, 4782969, 19131876, 43046721, 172186884, 387420489, 1549681956, 3486784401, 13947137604, 31381059609, 125524238436, 282429536481, 1129718145924, 2541865828329, 10167463313316
Offset: 0

Views

Author

Gary W. Adamson, Sep 19 2007

Keywords

Comments

A133647 is a companion sequence.

Examples

			a(4) = 3^4 = 81.
a(5) = 324 = 4 * 3^4.
		

Crossrefs

Programs

Formula

A133080 * A000244, where A000244 = (3^0, 3^1, 3^2, ...).
For even n, a(n) = 3^n. For odd n, a(n) = 4 * 3^(n-1).
From R. J. Mathar, Oct 30 2008: (Start)
G.f.: (1+4*x)/((1+3*x)*(1-3*x)).
a(n) = 9*a(n-2). (End)
a(n) = A038754(n)^2. - T. D. Noe, Jun 10 2011
E.g.f.: (3*exp(3*x) + sinh(3*x))/3. - Andrew Howroyd, Jul 03 2024
From Amiram Eldar, Jun 02 2025: (Start)
Sum_{n>=0} 1/a(n) = 45/32.
Sum_{n>=0} (-1)^n/a(n) = 27/32. (End)

Extensions

Name changed by Andrew Howroyd, Jul 03 2024