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.
%I A157532 #47 Feb 25 2025 01:57:40 %S A157532 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, %T A157532 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, %U A157532 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 %N A157532 a(1) = 2; for n > 1, a(n) = 3. %C A157532 a(n) = number of neighboring natural numbers of n (e.g., n, n-1, n+1). %C A157532 a(n) = A158799(n) for n >= 1. - _Jaroslav Krizek_, Nov 18 2009 %C A157532 Also decimal expansion of 7/3. - _Natan Arie Consigli_, May 02 2015 %C A157532 Decimal expansion of Sum_{i>=0} (4/7)^i. - _Bruno Berselli_, Aug 23 2017 %H A157532 <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1). %F A157532 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 %F A157532 G.f.: x*(2+x)/(1-x). - _Robert Israel_, May 07 2015 %e A157532 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 %t A157532 {2}~Join~Table[3, {120}] (* _Michael De Vlieger_, May 05 2015 *) %t A157532 PadRight[{2},120,3] (* _Harvey P. Dale_, Aug 12 2021 *) %o A157532 (PARI) A157532(n)=2+(n>1) \\ _M. F. Hasler_, Jul 30 2015 %Y A157532 Cf. A254310 (3[0]3[1]...[n]3), A254225 (2[0]2[1]...[n]2). %Y A157532 Except for initial terms, the same as A156752 and A165020. - _M. F. Hasler_, Jul 30 2015 %K A157532 nonn,easy,less,cons %O A157532 1,1 %A A157532 _Jaroslav Krizek_, Mar 02 2009 %E A157532 More threes from _R. J. Mathar_, Mar 14 2009; truncated to three lines by _M. F. Hasler_, Jul 30 2015