a(n) = floor(6*n*sqrt(n)/Pi^2) - sigma(n), where sigma(n) is the sum of the divisors of n (A000203).

A058208

a(n) = floor(6*n*sqrt(n)/Pi^2) - sigma(n), where sigma(n) is the sum of the divisors of n (A000203).

Terms

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

External references