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 A087507 #15 Jun 13 2015 00:51:08 %S A087507 1,1,1,4,2,2,7,3,3,10,4,4,13,5,5,16,6,6,19,7,7,22,8,8,25,9,9,28,10,10, %T A087507 31,11,11,34,12,12,37,13,13,40,14,14,43,15,15,46,16,16,49,17,17,52,18, %U A087507 18,55,19,19,58,20,20,61,21,21,64,22,22,67,23,23,70,24,24,73,25,25,76 %N A087507 #{0<=k<=n: k*n is divisible by 3}. %H A087507 Colin Barker, <a href="/A087507/b087507.txt">Table of n, a(n) for n = 0..1000</a> %H A087507 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,2,0,0,-1). %F A087507 a(n) = sum{k=0..n, if (mod(kn, 3)=0, 1, 0) }. %F A087507 a(n) = floor(n/3)(5/3+4/3cos(2Pi*/3))+1. %F A087507 a(n)+A087508(n)+A087509(n) = n. %F A087507 a(n) = 2*a(n-3)-a(n-6) for n>5. - _Colin Barker_, May 02 2015 %F A087507 G.f.: (2*x^3+x^2+x+1) / ((x-1)^2*(x^2+x+1)^2). - _Colin Barker_, May 02 2015 %o A087507 (PARI) Vec((2*x^3+x^2+x+1)/((x-1)^2*(x^2+x+1)^2) + O(x^100)) \\ _Colin Barker_, May 02 2015 %Y A087507 Cf. A016777 (trisection). %K A087507 easy,nonn %O A087507 0,4 %A A087507 _Paul Barry_, Sep 11 2003