login
The OEIS is supported by the many generous donors 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; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = -1/2*(-1)^n + 15/2. - Paolo P. Lava, Oct 27 2006
G.f. (-7-8*x) / ( (x-1)*(1+x) ). - R. J. Mathar, Nov 21 2011
MATHEMATICA
PadRight[{}, 120, {7, 8}] (* Harvey P. Dale, Dec 15 2012 *)
PROG
(PARI) a(n)=7+n%2 \\ Charles R Greathouse IV, Dec 21 2011
CROSSREFS
Cf. A176440.
Sequence in context: A364896 A233778 A217168 * A291509 A153856 A239362
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 14 10:40 EDT 2024. Contains 375159 sequences. (Running on oeis4.)