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.

A115098 a(0) = 2, a(n) = 3*a(n-1) - 3.

Original entry on oeis.org

2, 3, 6, 15, 42, 123, 366, 1095, 3282, 9843, 29526, 88575, 265722, 797163, 2391486, 7174455, 21523362, 64570083, 193710246, 581130735, 1743392202, 5230176603, 15690529806, 47071589415, 141214768242, 423644304723, 1270932914166
Offset: 0

Views

Author

Miklos Kristof, Mar 02 2006

Keywords

Comments

Also the domination and connected domination number of the (n+2)-Dorogovtsev-Goltsev-Mendes graph, where the convention DGM(0) = P_2 is used. - Eric W. Weisstein, Jan 14 2024 and Mar 13 2025

Examples

			a(4) = (3^4 + 3)/2 = 84/2 = 42 = 3*a(3) - 3 = 3*15 - 3.
		

Crossrefs

Cf. A067771.

Programs

Formula

a(n) = (3^n + 3)/2.
a(n) = A067771(n-1), n > 0. - R. J. Mathar, Aug 11 2008
G.f.: (2-5*x)/((1-x)*(1-3*x)). - Vincenzo Librandi, Sep 13 2014