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 A131719 #29 Dec 12 2023 09:15:54 %S A131719 0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1, %T A131719 1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1, %U A131719 1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0 %N A131719 Period 6: repeat [0, 1, 1, 1, 1, 0]. %H A131719 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (1,-1,1,-1,1). %F A131719 G.f.: -(x^2+1)*x/(x-1)/(x^2+x+1)/(x^2-x+1). - _R. J. Mathar_, Nov 14 2007 %F A131719 a(n) = 2/3-cos(Pi*n/3)/2+sqrt(3)*sin(Pi*n/3)/6 -cos(2*Pi*n/3)/6 +sqrt(3)*sin(2*Pi*n/3)/6. - _R. J. Mathar_, Oct 08 2011 %F A131719 a(n) = a(n-1) - a(n-2) + a(n-3) - a(n-4) + a(n-5) for n>4. - _Wesley Ivan Hurt_, Jun 19 2016 %F A131719 a(n+3) = A000358(n)(mod 2), for n>0. - _John M. Campbell_, Jul 08 2016 %p A131719 A131719:=n->[0, 1, 1, 1, 1, 0][(n mod 6)+1]: seq(A131719(n), n=0..100); # _Wesley Ivan Hurt_, Jun 19 2016 %t A131719 PadRight[{}, 200, {0, 1, 1, 1, 1, 0}] (* _Wesley Ivan Hurt_, Jun 19 2016 *) %o A131719 (PARI) a(n)=[0,1,1,1,1,0][n%6+1] \\ _Charles R Greathouse IV_, Jun 02 2011 %o A131719 (Magma) &cat[[0, 1, 1, 1, 1, 0]^^20]; // _Wesley Ivan Hurt_, Jun 19 2016 %K A131719 nonn,easy,less %O A131719 0,1 %A A131719 _Paul Curtz_, Sep 15 2007