Alternating sum of all divisors of n; divisors nonincreasing, starting with n.

A071324

Alternating sum of all divisors of n; divisors nonincreasing, starting with n.

Terms

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

External references