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

 

Logo


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

0,1

COMMENTS

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

LINKS

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

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

FORMULA

a(n) = -4*(-1)^n + 6 = 10*(n mod 2)+2*((n+1) mod 2) - Paolo P. Lava, Oct 20 2006

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

a(n) = 3^(1-(-1)^n) + 1. [Bruno Berselli, Dec 29 2015]

PROG

(PARI) a(n)=2+n%2*8 \\ Charles R Greathouse IV, Dec 21 2011

(MAGMA) &cat [[2, 10]^^35]; // Bruno Berselli, Dec 29 2015

CROSSREFS

Cf. A010679: 3^(1-(-1)^n) - 1.

Sequence in context: A102775 A154032 A221551 * A121521 A280033 A188635

Adjacent sequences:  A010697 A010698 A010699 * A010701 A010702 A010703

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