The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A010718 Periodic sequence: repeat [5, 7]. 6
 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS Also continued fraction expansion of (35+sqrt(1365))/14. - Bruno Berselli, Sep 29 2011 LINKS Index entries for linear recurrences with constant coefficients, signature (0,1). FORMULA From Paolo P. Lava, Oct 20 2006: (Start) a(n) = (-1)^(n+1) + 6. a(n) = 7*(n mod 2)+5*((n+1) mod 2). (End) From Vincenzo Librandi, Aug 01 2010: (Start) a(n) = a(n-2) for n > 1, with a(0)=5, a(1)=7. G.f.: (5+7*x)/((1-x)*(1+x)). (End) MAPLE seq(op([5, 7]), n=0..100); # Wesley Ivan Hurt, Dec 26 2016 MATHEMATICA (-1)^(Range[0, 100] + 1) + 6 (* Wesley Ivan Hurt, Dec 26 2016 *) PROG (MAGMA) &cat [[5, 7]^^50]; // Wesley Ivan Hurt, Dec 26 2016 (PARI) for(n=0, 20, print1((-1)^(n+1) + 6, ", ")) \\ G. C. Greubel, Dec 26 2016 CROSSREFS Sequence in context: A167133 A144567 A215732 * A247872 A306400 A090987 Adjacent sequences:  A010715 A010716 A010717 * A010719 A010720 A010721 KEYWORD nonn,easy AUTHOR EXTENSIONS Definition rewritten by Bruno Berselli, Sep 29 2011 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 September 26 10:33 EDT 2020. Contains 337346 sequences. (Running on oeis4.)