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

 

Logo


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

0,1

COMMENTS

Continued fraction of 1+sqrt(11)/3 = A176056. - R. J. Mathar, Nov 21 2011

LINKS

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

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

FORMULA

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

G.f.: (2+9x))/((1-x)(1+x)). - R. J. Mathar, Nov 21 2011

MATHEMATICA

PadRight[{}, 100, {2, 9}] (* Harvey P. Dale, Mar 25 2015 *)

PROG

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

CROSSREFS

Sequence in context: A199726 A171546 A268682 * A198670 A074916 A228375

Adjacent sequences:  A010696 A010697 A010698 * A010700 A010701 A010702

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 20 15:59 EDT 2019. Contains 325185 sequences. (Running on oeis4.)