Question: If n / i are odd, what is the sum of i? i's are all positive divisors of n.

S := proc (n) local i; for i to n do if i <= n and type(i, divisors(n)) and type(n/i, odd) then sum(i) end if end do end proc

Please Wait...