login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010720 Period 2: repeat (5,9). 4
5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5, 9, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Continued fraction expansion of A176324. - R. J. Mathar, Mar 08 2012

LINKS

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

Index entries for linear recurrences with constant coefficients, signature (0,1).

FORMULA

a(n)=-2*(-1)^n+7 a(n)=9*(n mod 2)+5*[(n+1) mod 2] - Paolo P. Lava, Oct 20 2006

a(n) = a(n-2) for n > 1; a(0) = 5, a(1) = 9. G.f.: (5+9*x)/((1-x)*(1+x)). - Vincenzo Librandi, Aug 01 2010

PROG

(PARI) a(n)=n%2*4+5\\ Charles R Greathouse IV, Jul 13 2016

CROSSREFS

Sequence in context: A197693 A117014 A200283 * A094389 A057821 A133742

Adjacent sequences:  A010717 A010718 A010719 * A010721 A010722 A010723

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 21 02:02 EDT 2019. Contains 325189 sequences. (Running on oeis4.)