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

 

Logo


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

0,1

COMMENTS

Continued fraction of 4+2*sqrt(105)/5. - R. J. Mathar, Nov 21 2011

LINKS

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

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

FORMULA

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

G.f. ( -8-10*x ) / ( (x-1)*(1+x) ). - R. J. Mathar, Nov 21 2011

MATHEMATICA

PadLeft[{8, 10}, 70, {8, 10}] (* Harvey P. Dale, Aug 09 2011 *)

PROG

(PARI) a(n)=n%2*2+8 \\ Charles R Greathouse IV, Jun 11 2015

CROSSREFS

Sequence in context: A105021 A273651 A088487 * A066004 A107032 A031953

Adjacent sequences:  A010730 A010731 A010732 * A010734 A010735 A010736

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 00:39 EDT 2019. Contains 325189 sequences. (Running on oeis4.)