a(n) = n - d(n), where d(n) is the number of divisors of n (A000005).

A049820

a(n) = n - d(n), where d(n) is the number of divisors of n (A000005).

Terms

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

External references