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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A153110 Period 6: repeat [1, 5, 7, 2, 4, 8]. 4

%I

%S 1,5,7,2,4,8,1,5,7,2,4,8,1,5,7,2,4,8,1,5,7,2,4,8,1,5,7,2,4,8,1,5,7,2,

%T 4,8,1,5,7,2,4,8,1,5,7,2,4,8,1,5,7,2,4,8,1,5,7,2,4,8,1,5,7,2,4,8,1,5,

%U 7,2,4,8,1,5,7,2,4,8,1,5,7,2,4,8,1,5,7,2,4,8

%N Period 6: repeat [1, 5, 7, 2, 4, 8].

%C Also A141425^5 mod 9. See A020806.

%C Terms of the simple continued fraction of 163/(4*sqrt(32370)-607). Decimal expansion of 4614/37037. - _Paolo P. Lava_, Feb 17 2009

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (-1,0,1,1).

%F a(n) = (1/30)*{44*(n mod 6)+4*[(n+1) mod 6]-[(n+2) mod 6]+4*[(n+3) mod 6]-[(n+4) mod 6]+4*[(n+5) mod 6]}. - _Paolo P. Lava_, Dec 22 2008

%F From _R. J. Mathar_, Mar 08 2011: (Start)

%F a(n) = - a(n-1) + a(n-3) + a(n-4) for n>3.

%F G.f.: (2*x+1)^3 / ( (1-x)*(1+x)*(1+x+x^2) ). (End)

%F a(n) = (9-cos(n*Pi)-4*sqrt(3)*cos((1-4*n)*Pi/6))/2. - _Wesley Ivan Hurt_, Jun 17 2016

%p A153110:=n->(9-cos(n*Pi)-4*sqrt(3)*cos((1-4*n)*Pi/6))/2: seq(A153110(n), n=0..100); # _Wesley Ivan Hurt_, Jun 17 2016

%t PadLeft[{},90,{1,5,7,2,4,8}] (* _Harvey P. Dale_, Sep 10 2011 *)

%o (PARI) a(n)=[1,2,4,5,7,8][n%6+1] \\ _Charles R Greathouse IV_, Jun 02 2011

%o (MAGMA) &cat[[1, 5, 7, 2, 4, 8]: n in [0..20]]; // _Wesley Ivan Hurt_, Jun 17 2016

%Y Cf. A020806, A038194, A141425.

%K nonn,easy

%O 0,2

%A _Paul Curtz_, Dec 18 2008

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 10 00:25 EDT 2020. Contains 335570 sequences. (Running on oeis4.)