write a program to input a number and print the sum of its factor
Answers
Answered by
1
Answer:
Explanation:
26/12/2017 · Examples: Input : n = 30 Output : 24 Odd dividers sum 1 + 3 + 5 + 15 = 24 Input : 18 Output : 13 Odd dividers sum 1 + 3 + 9 = 13. Let p 1, p 2, … p k be prime factors of n. Let a 1, a 2, .. a k be highest powers of p 1, …
Answered by
0
Answer:
In python, c or what
Explanation:
Similar questions