a(n) = Sum_{i=1..n} (i - d(i)), where d(n) is the number of divisors of n (A000005).

A161664

a(n) = Sum_{i=1..n} (i - d(i)), where d(n) is the number of divisors of n (A000005).

Terms

    a(0) =0a(1) =0a(2) =1a(3) =2a(4) =5a(5) =7a(6) =12a(7) =16a(8) =22a(9) =28a(10) =37a(11) =43a(12) =54a(13) =64a(14) =75a(15) =86a(16) =101a(17) =113a(18) =130a(19) =144a(20) =161a(21) =179a(22) =200a(23) =216a(24) =238a(25) =260a(26) =283a(27) =305a(28) =332a(29) =354

External references