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 A289120 #18 Jul 02 2017 11:43:24 %S A289120 0,0,1,0,1,2,1,2,2,3,2,3,4,3,4,4,5,4,5,6,5,6,6,7,6,7,8,7,8,8,9,8,9,10, %T A289120 9,10,10,11,10,11,12,11,12,12,13,12,13,14,13,14,14,15,14,15,16,15,16, %U A289120 16,17,16,17,18,17,18,18,19,18,19,20,19,20,20,21,20,21,22,21,22,22,23,22,23,24,23,24,24,25,24,25,26,25,26,26,27,26,27,28,27,28,28,29 %N A289120 a(n) is the number of odd integers divisible by 7 in ]2*(n-1)^2, 2*n^2[. %C A289120 This sequence has the form (0+2k,0+2k,1+2k,0+2k,1+2k,2+2k,1+2k) for k>=0. %H A289120 Colin Barker, <a href="/A289120/b289120.txt">Table of n, a(n) for n = 0..1000</a> %H A289120 <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,0,0,0,0,1,-1). %F A289120 From _Colin Barker_, Jul 02 2017: (Start) %F A289120 G.f.: x^2*(1 + x)*(1 - x + x^2)^2 / ((1 - x)^2*(1 + x + x^2 + x^3 + x^4 + x^5 + x^6)). %F A289120 a(n) = a(n-1) + a(n-7) - a(n-8) for n>7. %F A289120 (End) %t A289120 Table[Count[Mod[Table[2 ((n - 1)^2 + k) - 1, {k, 1, 2 n - 1}], 7], %t A289120 0], {n, 0, 100}] %o A289120 (PARI) concat(vector(2), Vec(x^2*(1 + x)*(1 - x + x^2)^2 / ((1 - x)^2*(1 + x + x^2 + x^3 + x^4 + x^5 + x^6)) + O(x^100))) \\ _Colin Barker_, Jul 02 2017 %Y A289120 Cf. A289133, A289122, A288156, A004523. %K A289120 nonn,easy %O A289120 0,6 %A A289120 _Ralf Steiner_, Jun 25 2017