The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A010714 Period 2: repeat [4, 9]. 2

%I #30 Dec 31 2023 16:08:00

%S 4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,

%T 4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,9,

%U 4,9,4,9,4,9,4,9,4,9,4,9,4

%N Period 2: repeat [4, 9].

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0,1).

%F G.f.: (4+9x)/((1-x)*(1+x)). - _R. J. Mathar_, Nov 21 2011

%F From _Wesley Ivan Hurt_, Dec 31 2023: (Start)

%F a(n) = a(n-2) for n>1 with a(0)=4, a(1)=9.

%F a(n) = (13-5*(-1)^n)/2. (End)

%t Table[4 + 5 Mod[n, 2], {n, 0, 50}] (* _Jinyuan Wang_, Feb 26 2020 *)

%o (PARI) a(n)=4+n%2*5 \\ _Charles R Greathouse IV_, Dec 21 2011

%Y Cf. A176219.

%K nonn,easy

%O 0,1

%A _N. J. A. Sloane_

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 17 19:53 EDT 2024. Contains 372607 sequences. (Running on oeis4.)