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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010704 Period 2: repeat (3,6). 2
3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3 (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)=-3/2*(-1)^n+9/2 =6*(n mod 2)+3*[(n+1) mod 2] - Paolo P. Lava (paoloplava(AT)gmail.com), Oct 20 2006

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

PROG

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

CROSSREFS

Sequence in context: A151865 A124860 A038138 * A170859 A123146 A016661

Adjacent sequences:  A010701 A010702 A010703 * A010705 A010706 A010707

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 14 23:53 EST 2012. Contains 205689 sequences.