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!)
A010728 Period 2: repeat (7,8). 2

%I #25 Dec 14 2023 06:06:18

%S 7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,

%T 7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,

%U 7,8,7,8,7,8,7,8,7,8,7,8,7

%N Period 2: repeat (7,8).

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

%F a(n) = -1/2*(-1)^n + 15/2. - _Paolo P. Lava_, Oct 27 2006

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

%t PadRight[{},120,{7,8}] (* _Harvey P. Dale_, Dec 15 2012 *)

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

%Y Cf. A176440.

%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 August 14 12:11 EDT 2024. Contains 375164 sequences. (Running on oeis4.)