OFFSET
0,1
COMMENTS
Essentially the same as the "all ones" sequence A000012. - M. F. Hasler, May 30 2020
Decimal expansion of 199/900 = .2211111111111111... - Bernard Schott, May 30 2020
Continued fraction expansion of (7 - sqrt(5))/2 = A079585. - Elmo R. Oliveira, Sep 22 2025
LINKS
Wikipedia, Hyperoperation
Index entries for linear recurrences with constant coefficients, signature (1).
FORMULA
G.f.: 2*(1+x)-x^2/(x-1). - R. J. Mathar, May 10 2001
a(n) = H_n(1, 1), where H_n is the n-th hyperoperator (cf. A054871). - Natan Arie Consigli, Feb 26 2015
a(n) = A000012(n) for all n > 1. - M. F. Hasler, May 30 2020
E.g.f.: exp(x) + 1 + x. - Elmo R. Oliveira, Sep 22 2025
MATHEMATICA
PadRight[{2, 2}, 120, 1] (* Harvey P. Dale, Jan 02 2022 *)
PROG
(PARI) a(n)=if(n>1, 1, 2) \\ Charles R Greathouse IV, Oct 07 2015
(PARI) apply( {A141044(n)=(n<2)+1}, [0..90]) \\ M. F. Hasler, May 30 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jul 31 2008
EXTENSIONS
Edited by N. J. A. Sloane, Mar 03 2010
STATUS
approved
