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!)
 A010719 Period 2: repeat {5,8}. 4
 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5 (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) = -3/2(-1)^n+13/2. a(n) = 8*(n mod 2)+5*[(n+1) mod 2]. - Paolo P. Lava, Oct 20 2006 a(n) = a(n-2) for n > 1; a(0) = 5, a(1) = 8. G.f.: (5+8*x)/((1-x)*(1+x)).  - Vincenzo Librandi, Aug 01 2010 a(n) = 3*(n mod 2) + 5. - Wesley Ivan Hurt, Jun 14 2014 MAPLE A010719:=n->3*(n mod 2) + 5; seq(A010719(n), n=0..50); # Wesley Ivan Hurt, Jun 14 2014 MATHEMATICA Table[3 Mod[n, 2] + 5, {n, 0, 50}] (* Wesley Ivan Hurt, Jun 14 2014 *) PROG (MAGMA) [ 3*(n mod 2) + 5 : n in [0..50] ]; // Wesley Ivan Hurt, Jun 14 2014 CROSSREFS Cf. A176323. Sequence in context: A199395 A100610 A101465 * A246903 A213022 A198732 Adjacent sequences:  A010716 A010717 A010718 * A010720 A010721 A010722 KEYWORD nonn,easy AUTHOR N. J. A. Sloane, Dec 11 1996 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 June 22 21:29 EDT 2021. Contains 345393 sequences. (Running on oeis4.)