a(n) = floor(H(n) + exp(H(n))*log(H(n))) - sigma(n), where H(n) = Sum_{k=1..n} 1/k and sigma(n) (A000203) is the sum of the divisors of n.

A057641

a(n) = floor(H(n) + exp(H(n))*log(H(n))) - sigma(n), where H(n) = Sum_{k=1..n} 1/k and sigma(n) (A000203) is the sum of the divisors of n.

Terms

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

External references