This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A177883 Period 6: repeat [4, 5, 7, 2, 1, 8]. 2
 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5, 7, 2, 1, 8, 4, 5 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS Represents also the decimal expansion of 16934/37037 and the continued fractions of 0.23839... = (sqrt(496555)-667)/158 or of 4.194699... = (667+sqrt(496555))/327. - R. J. Mathar, Dec 20 2010 LINKS Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,1). FORMULA a(n) = A166304(n) mod 9 = A022998(3n+2) mod 9. a(2n) + a(2n+1) = 9. G.f.: (4+5*x+7*x^2+2*x^3+x^4+8*x^5) / ( (1-x)*(1+x)*(1+x+x^2)*(x^2-x+1) ). - R. J. Mathar, Dec 20 2010 From Wesley Ivan Hurt, Jun 18 2016: (Start) a(n) = a(n-6) for n>5. a(n) = (9 -cos(n*Pi) + 3*cos(n*Pi/3) - 3*cos(2*n*Pi/3) + sqrt(3)*sin(n*Pi/3) - 3*sqrt(3)*sin(2*n*Pi/3))/2. (End) MAPLE A177883:=n->[4, 5, 7, 2, 1, 8][(n mod 6)+1]: seq(A177883(n), n=0..100); # Wesley Ivan Hurt, Jun 18 2016 MATHEMATICA PadRight[{}, 120, {4, 5, 7, 2, 1, 8}] (* Harvey P. Dale, Feb 11 2016 *) PROG (MAGMA) &cat[[4, 5, 7, 2, 1, 8]: n in [0..20]]; // Wesley Ivan Hurt, Jun 18 2016 (PARI) a(n)=[4, 5, 7, 2, 1, 8][n%6+1] \\ Charles R Greathouse IV, Jul 17 2016 CROSSREFS Cf. A173598, A141425, A153130 (permutations). Sequence in context: A237196 A322711 A057055 * A245422 A272005 A274984 Adjacent sequences:  A177880 A177881 A177882 * A177884 A177885 A177886 KEYWORD nonn,easy AUTHOR Paul Curtz, Dec 14 2010 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 February 19 10:16 EST 2019. Contains 320310 sequences. (Running on oeis4.)