The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A173717 Sum of n mod m, summed over semiprimes m = 4, 6, 9, ..., smallest semiprime >= n. 1
 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, 51, 79, 72, 83, 63, 74, 81, 59, 70, 82, 112, 126, 102, 116, 157, 173, 148, 164, 154, 146, 116, 179, 186, 154, 186, 153, 193, 212, 216, 180, 237, 200, 220, 300, 287, 309, 269, 324, 343, 301, 329, 353, 339 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS MAPLE 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 CROSSREFS Cf. A106325. Sequence in context: A115562 A127468 A173720 * A058301 A199601 A231602 Adjacent sequences:  A173714 A173715 A173716 * A173718 A173719 A173720 KEYWORD nonn,less AUTHOR Juri-Stepan Gerasimov, Nov 25 2010 EXTENSIONS Corrected by R. J. Mathar, Nov 26 2010 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 8 06:39 EDT 2021. Contains 343653 sequences. (Running on oeis4.)