Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #19 Apr 07 2024 17:42:29
%S 1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,
%T 0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,
%U 0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0,1,0,4,0,0
%N Periodic sequence [1,0,4,0,0] of period 5.
%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) = 1, a(2) = a(3) = a(4) = 0 and a(2) = 4.
%F O.g.f: (1+4z^2)/(1-z^5).
%F a(n) = 1-2/5*5^(1/2)*cos(2*n*Pi/5)+2/5*2^(1/2)*(5-5^(1/2))^(1/2)*sin(2*n*Pi/5) + 2/5*5^(1/2)*cos(4*n*Pi/5)-2/5*2^(1/2)*(5+5^(1/2))^(1/2)*sin(4*n*Pi/5).
%Y Cf. A026048.
%K easy,nonn
%O 0,3
%A _Richard Choulet_, Dec 14 2008
%E More terms from _Philippe Deléham_, Dec 29 2008