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.

A059620 Colors of the 88 keys of the standard piano: white keys = 0, black keys = 1, start with A0 = the 0th key.

This page as a plain text file.
%I A059620 #19 Sep 14 2020 14:39:04
%S A059620 0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,
%T A059620 0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,
%U A059620 0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0
%N A059620 Colors of the 88 keys of the standard piano: white keys = 0, black keys = 1, start with A0 = the 0th key.
%H A059620 <a href="/index/Rec#order_12">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,0,0,0,0,0,0,1).
%F A059620 a(n) = floor((5n+7)/12) - floor((5n+2)/12). - _David W. Wilson_, Mar 02 2003
%F A059620 G.f.: -x*(1+x^3+x^5+x^8+x^10) / ( (x-1) *(1+x+x^2) *(1+x) *(1-x+x^2) *(1+x^2) *(x^4-x^2+1) ). - _R. J. Mathar_, Dec 16 2016
%F A059620 a(n) = 0 if n is in A060107, a(n) = 1 if n is in A060106. - _Jianing Song_, Oct 14 2019
%e A059620 .1..1.1..1.1.1..1.1..1.1.1..1.1..1.1.1..1.1..1.1.1..1.1..1.1.1..1.1..1.1.1..1.1..1.1.1
%e A059620 0.00.0.00.0.0.00.0.00.0.0.00.0.00.0.0.00.0.00.0.0.00.0.00.0.0.00.0.00.0.0.00.0.00.0.0.00
%t A059620 Flatten[Table[{0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1}, {8}]][[1 ;; 88]] (* _Jean-François Alcover_, Apr 24 2017 *)
%t A059620 PadRight[{},88,{0,1,0,0,1,0,1,0,0,1,0,1}] (* _Harvey P. Dale_, Sep 14 2020 *)
%Y A059620 Cf. A060106, A060107, A081031, A081032.
%K A059620 easy,fini,full,nonn,nice
%O A059620 0,1
%A A059620 _Naohiro Nomoto_, Feb 19 2001