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

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

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

PROG

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

CROSSREFS

Sequence in context: A011283 A179659 A064859 * A153856 A094819 A019861

Adjacent sequences:  A010725 A010726 A010727 * A010729 A010730 A010731

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 15 14:37 EST 2012. Contains 205822 sequences.