login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141044 Two 2's followed by all 1's. 13
2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Essentially the same as the "all ones" sequence A000012. - M. F. Hasler, May 30 2020

LINKS

Table of n, a(n) for n=0..104.

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

Cf. A000012, A054871.

Sequence in context: A332029 A211312 A085978 * A064284 A030409 A030407

Adjacent sequences:  A141041 A141042 A141043 * A141045 A141046 A141047

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Jul 31 2008

EXTENSIONS

Edited by N. J. A. Sloane, Mar 03 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 03:31 EDT 2022. Contains 353887 sequences. (Running on oeis4.)