Given n, sum all division remainders {n/k}, with k=1,...,n. The value a(n) is given by the floor of that sum. Note that {x}:=x-[x].

A102722

Given n, sum all division remainders {n/k}, with k=1,...,n. The value a(n) is given by the floor of that sum. Note that {x}:=x-[x].

Terms

    a(0) =0a(1) =0a(2) =0a(3) =0a(4) =1a(5) =0a(6) =2a(7) =1a(8) =2a(9) =2a(10) =4a(11) =2a(12) =4a(13) =4a(14) =4a(15) =4a(16) =6a(17) =4a(18) =7a(19) =5a(20) =6a(21) =7a(22) =9a(23) =6a(24) =8a(25) =9a(26) =10a(27) =8a(28) =11a(29) =8

External references