login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152857 Period 5: repeat [0, 2, 3, 0, 0]. 1

%I #16 Dec 12 2023 08:14:38

%S 0,2,3,0,0,0,2,3,0,0,0,2,3,0,0,0,2,3,0,0,0,2,3,0,0,0,2,3,0,0,0,2,3,0,

%T 0,0,2,3,0,0,0,2,3,0,0,0,2,3,0,0,0,2,3,0,0,0,2,3,0,0,0,2,3,0,0,0,2,3,

%U 0,0

%N Period 5: repeat [0, 2, 3, 0, 0].

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

%F a(n+5) = a(n) with a(0) = a(3) = a(4) = 0, a(1) = 2 and a(2) = 3.

%F O.g.f f(z) = (2*z+3*z^2)/(1-z^5).

%F a(n) = 1+(-1/2-1/10*5^(1/2))*cos(2*n*Pi/5)+(1/10*(3*(5-5^(1/2))^(1/2)+2*(5+5^(1/2))^(1/2))*2^(1/2))*sin(2*n*Pi/5)+(1/10*5^(1/2)-1/2)*cos(4*n*Pi/5)+(1/10*(2*(5-5^(1/2))^(1/2)-3*(5+5^(1/2))^(1/2))*2^(1/2))*sin(4*n*Pi/5).

%F a(n) = (5 + 4*cos(2*(n-1)*Pi/5) + 4*cos(4*(n-1)*Pi/5) + 6*cos(2*(n+3)*Pi/5) + 6*cos(4*(n+3)*Pi/5))/5. - _Wesley Ivan Hurt_, Jun 25 2022

%t PadRight[{},100,{0,2,3,0,0}] (* _Harvey P. Dale_, Aug 09 2021 *)

%Y Cf. A026045.

%K easy,nonn

%O 0,2

%A _Richard Choulet_, Dec 14 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 11:21 EDT 2024. Contains 371913 sequences. (Running on oeis4.)