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). 3
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; internal format)
OFFSET

0,1

LINKS

Index to sequences with 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 (paoloplava(AT)gmail.com), Oct 20 2006

G.f. (2+10x)/((1-x)*(1+x)).

PROG

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

CROSSREFS

Sequence in context: A069287 A102775 A154032 * A121521 A188635 A171659

Adjacent sequences:  A010697 A010698 A010699 * A010701 A010702 A010703

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 21:13 EST 2012. Contains 206085 sequences.