cp's OEIS Frontend

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.

A131735 Period 6: repeat [0, 0, 1, 1, 1, 1].

This page as a plain text file.
%I A131735 #16 Dec 12 2023 09:07:55
%S A131735 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,
%T A131735 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,
%U A131735 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,0,1
%N A131735 Period 6: repeat [0, 0, 1, 1, 1, 1].
%H A131735 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (1,-1,1,-1,1).
%F A131735 G.f.: -(x^2+1)*x^2/(x-1)/(x^2+x+1)/(x^2-x+1). - _R. J. Mathar_, Nov 14 2007
%F A131735 a(n) = 2/3-(1/2)*cos((1/3)*Pi*n)-(1/6)*3^(1/2)*sin((1/3)*Pi*n)-(1/6)*cos((2/3)*Pi*n)-(1/6)*3^(1/2)*sin((2/3)*Pi*n). - _R. J. Mathar_, Nov 15 2007
%F A131735 a(n) = A131719(n-1), n>0. - _R. J. Mathar_, Jun 13 2008
%t A131735 PadRight[{},120,{0,0,1,1,1,1}] (* or *) LinearRecurrence[{1,-1,1,-1,1},{0,0,1,1,1},120] (* _Harvey P. Dale_, Jun 17 2015 *)
%Y A131735 Cf. A131719.
%K A131735 nonn
%O A131735 0,1
%A A131735 _Paul Curtz_, Sep 19 2007