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 A173717 #9 May 11 2019 18:37:52 %S A173717 1,2,3,0,6,2,11,10,4,7,22,17,22,13,18,36,43,35,42,35,21,28,59,58,42, %T A173717 51,79,72,83,63,74,81,59,70,82,112,126,102,116,157,173,148,164,154, %U A173717 146,116,179,186,154,186,153,193,212,216,180,237,200,220,300,287,309,269,324,343,301,329,353,339 %N A173717 Sum of n mod m, summed over semiprimes m = 4, 6, 9, ..., smallest semiprime >= n. %p A173717 A173717 := proc(n) a := 0 ; for i from 1 do s := A001358(i) ; a := a + (n mod s) ; if s >= n then return a; end if; end do: end proc: # _R. J. Mathar_, Nov 26 2010 %Y A173717 Cf. A106325. %K A173717 nonn,less %O A173717 1,2 %A A173717 _Juri-Stepan Gerasimov_, Nov 25 2010 %E A173717 Corrected by _R. J. Mathar_, Nov 26 2010