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 A081032 #22 Aug 10 2022 03:00:14 %S A081032 2,5,7,10,12,14,17,19,22,24,26,29,31,34,36,38,41,43,46,48,50,53,55,58, %T A081032 60,62,65,67,70,72,74,77,79,82,84,86 %N A081032 Positions of black keys on piano keyboard, starting with A0 = the 1st key. %H A081032 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,0,0,1,-1). %F A081032 a(n) = floor((12n+2)/5). %F A081032 From _Chai Wah Wu_, Sep 11 2018: (Start) %F A081032 a(n) = a(n-1) + a(n-5) - a(n-6) for n > 6. %F A081032 G.f. for a keyboard with an infinite number of keys: x*(2*x^4 + 3*x^3 + 2*x^2 + 3*x + 2)/(x^6 - x^5 - x + 1). (End) %F A081032 a(n) = A060106(n) + 1 for 1 <= n <= 36. - _Jianing Song_, Oct 14 2019 %e A081032 2nd, 5th, 7th, 10th, etc. keys of piano keyboard are black. %t A081032 LinearRecurrence[{1,0,0,0,1,-1},{2,5,7,10,12,14},36] (* _Harvey P. Dale_, Sep 15 2018 *) %Y A081032 Cf. A059620, A081031, A060106. %K A081032 fini,full,nonn %O A081032 1,1 %A A081032 _David W. Wilson_, Mar 02 2003