Problem A
A New Function
Input File: Standard Input
Output: Standard Output
We all know that any integer number N is divisible by 1 and N. That is why these two numbers are not the actual divisors of any numbers. The function SOD(n) (Sum of divisors) is defined as the summation of all the actual divisors of an integer number n. For example SOD(24)=2+3+4+6+8+12=35. The function CSOD(n) (cumulative SOD) of an integer n, is defined as below:
.
Given the value of n, your job is to find the value of CSOD(n).
For each line of input produce one line of output. This line should contain the serial of output followed by the value of CSOD(n). Look at the output for sample input for details. You can safely assume that any output number fits in a 64-bit signed integer.
2100
200000000
0
|
Case 1: 0Case 2: 3150
Case
3: 12898681201837053 |
Problem setter: Shahriar Manzoor
Special Thanks: Mohammad Sajjad Hossain