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.

A007879 Chimes made by clock striking the hour and half-hour.

This page as a plain text file.
%I A007879 #18 Mar 27 2022 13:38:20
%S A007879 1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,1,1,2,1,3,1,4,1,
%T A007879 5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,
%U A007879 1,10,1,11,1,12
%N A007879 Chimes made by clock striking the hour and half-hour.
%C A007879 Periodic sequence with period 24. - _Michel Marcus_, Jul 17 2013
%H A007879 <a href="/index/Rec#order_24">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1).
%F A007879 From _Hieronymus Fischer_, Sep 25 2007: (Start)
%F A007879 G.f.: 1/(1-x^2)+x(12x^26-13x^24+1)/((1-x^24)(1-x^2)^2).
%F A007879 G.f.: (1+x-x^2-x^24-13x^25+x^26+12x^27)/((1-x^24)(1-x^2)^2).
%F A007879 a(n) = 1 + ((n-1)*(1-(-1)^n)/4) mod 12.
%F A007879 a(n) = 1 + ((n-1)*(n mod 2)/2) mod 12. (End)
%t A007879 CoefficientList[Series[(1+x-x^2-x^24-13x^25+x^26+12x^27)/((1-x^24)(1-x^2)^2),{x,0,71}],x] (* _Stefano Spezia_, Mar 27 2022 *)
%o A007879 (PARI) a(n)= 1 + ((n-1)*(1-(-1)^n)/4) % 12 \\ _Michel Marcus_, Jul 17 2013
%Y A007879 Cf. A010881, A057979.
%K A007879 nonn,easy
%O A007879 0,4
%A A007879 Jan Wolitzky