This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A152893 #19 Dec 12 2023 08:08:51 %S A152893 3,3,0,0,4,3,3,0,0,4,3,3,0,0,4,3,3,0,0,4,3,3,0,0,4,3,3,0,0,4,3,3,0,0, %T A152893 4,3,3,0,0,4,3,3,0,0,4,3,3,0,0,4 %N A152893 Periodic sequence [3, 3, 0, 0, 4] of period 5. %H A152893 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,1). %F A152893 a(n+5) = a(n) with a(0) = a(1) = 3, a(2) = a(3) = 0 and a(4) = 4. %F A152893 O.g.f: ((3+3*z+4*z^4)/(1-z^5)). %F A152893 a(n) = 2+(1/2+7/10*5^(1/2))*cos(2*n*Pi/5)+(-1/10*2^(1/2)*(5+5^(1/2))^(1/2))*sin(2*n*Pi/5)+(1/2-7/10*5^(1/2))*cos(4*n*Pi/5)+(-1/10*2^(1/2)*(5-5^(1/2))^(1/2))*sin(4*n*Pi/5). %F A152893 a(n) = [(n-2)^3 -(n-2)^2] mod 5. [_Gary Detlefs_, Mar 20 2010] %t A152893 PadRight[{},120,{3,3,0,0,4}] (* _Harvey P. Dale_, Sep 17 2018 *) %Y A152893 Cf. A026056. %K A152893 easy,nonn %O A152893 0,1 %A A152893 _Richard Choulet_, Dec 14 2008