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 A007945 #16 Dec 11 2023 12:23:19 %S A007945 2,3,0,-4,-5,-2,2,3,0,-4,-5,-2,2,3,0,-4,-5,-2,2,3,0,-4,-5,-2,2,3,0,-4, %T A007945 -5,-2,2,3,0,-4,-5,-2,2,3,0,-4,-5,-2,2,3,0,-4,-5,-2,2,3,0,-4,-5,-2,2, %U A007945 3,0,-4,-5,-2,2,3,0,-4,-5,-2,2,3,0,-4,-5,-2,2,3,0,-4,-5,-2,2,3 %N A007945 Expansion of g.f. (2-x-2*x^2)/((1-x)*(1-x+x^2)). %C A007945 A period 6 sequence. - _Christian Krause_, Dec 07 2023 %H A007945 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (2,-2,1). %F A007945 G.f.: (2-x-2*x^2)/((1-x)*(1-x+x^2)). %F A007945 a(n) = a(n-1) - a(n-2) - 1. - _Christian Krause_, Dec 07 2023 %F A007945 a(n) = 5*sin(n*Pi/3)/sqrt(3) + 3*cos(n*Pi/3) - 1. - _Wesley Ivan Hurt_, Dec 09 2023 %K A007945 sign,easy %O A007945 0,1 %A A007945 _N. J. A. Sloane_