This site is supported by donations to The OEIS Foundation.

 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 Index entries for 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, 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: A064859 A233778 A217168 * A291509 A153856 A239362 Adjacent sequences:  A010725 A010726 A010727 * A010729 A010730 A010731 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified July 18 07:10 EDT 2019. Contains 325134 sequences. (Running on oeis4.)