OFFSET
0,1
COMMENTS
Essentially the same as the "all ones" sequence A000012. - M. F. Hasler, May 30 2020
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
EXAMPLE
Equals 199/900 = .2211111111111111... - Bernard Schott, May 30 2020
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