This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A010729 8-(-1)^n. 6
 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS a(n+1) = A173512(n+1) - A173512(n). - Reinhard Zumkeller, Feb 20 2010 LINKS Index entries for linear recurrences with constant coefficients, signature (0,1) FORMULA Period 2. a(n)=(-1)^(n+1)+8 a(n)=9*(n mod 2)+7*[(n+1) mod 2] - Paolo P. Lava, Oct 27 2006 G.f. ( -7-9*x ) / ( (x-1)*(1+x) ). - R. J. Mathar, Nov 21 201 MATHEMATICA PadRight[{}, 100, {7, 9}] (* Harvey P. Dale, May 09 2012 *) PROG (PARI) a(n)=8-(-1)^n \\ Charles R Greathouse IV, Jun 11 2015 CROSSREFS Sequence in context: A199742 A258112 A076668 * A182688 A256924 A259069 Adjacent sequences:  A010726 A010727 A010728 * A010730 A010731 A010732 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 22 05:47 EDT 2019. Contains 325213 sequences. (Running on oeis4.)