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.

A157532 a(1) = 2; for n > 1, a(n) = 3.

Original entry on oeis.org

2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
Offset: 1

Views

Author

Jaroslav Krizek, Mar 02 2009

Keywords

Comments

a(n) = number of neighboring natural numbers of n (e.g., n, n-1, n+1).
a(n) = A158799(n) for n >= 1. - Jaroslav Krizek, Nov 18 2009
Also decimal expansion of 7/3. - Natan Arie Consigli, May 02 2015
Decimal expansion of Sum_{i>=0} (4/7)^i. - Bruno Berselli, Aug 23 2017

Examples

			a(4) = 1[0]1[1]1[2]1[3]1[4]1 = '1+1*1^1^^1 = 3. - _Natan Arie Consigli_, May 02 2015
		

Crossrefs

Cf. A254310 (3[0]3[1]...[n]3), A254225 (2[0]2[1]...[n]2).
Except for initial terms, the same as A156752 and A165020. - M. F. Hasler, Jul 30 2015

Programs

Formula

a(n) = 1[0]1[1]1...1[n-1]1[n]1, where [0] is zeration or successor (y[0]x = x+1), [1] addition, [2] multiplication, [3] exponentiation, [4] repeated exponentiation, etc. - Natan Arie Consigli, May 02 2015
G.f.: x*(2+x)/(1-x). - Robert Israel, May 07 2015

Extensions

More threes from R. J. Mathar, Mar 14 2009; truncated to three lines by M. F. Hasler, Jul 30 2015