For all n ∈ N , let τ ( n ) denote the sum of positive divisors of n (including 1 and itself). Find the last three digits of n = 1 ∑ 1 0 0 τ ( n ) .
Details and Assumptions:
As an explicit example, the positive divisors of 4 are 1 , 2 , and 4 , so τ ( 4 ) = 4 + 2 + 1 = 7 .
This is not a computer science problem.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Oops... I computed sum of sum of digits.
Thank you .I had an idea which is much smilar to this.But,i missed it.
I typed in 8299 rather than 299...
Would anyone care to explain how the first step was realised?
Log in to reply
For each 1 ≤ k ≤ 1 0 0 , how many times does k appear in the wanted sum? Since k has exactly ⌊ k 1 0 0 ⌋ positive multiples ≤ 1 0 0 , it appears exactly ⌊ k 1 0 0 ⌋ times, and the sum is k ⌊ k 1 0 0 ⌋ . We must take the sum over all k in [ 1 , 1 0 0 ] .
Log in to reply
Could you explain in greater detail how you calculated the sum for 1 ≤ k ≤ 20? Thanks, and other than that, brilliant solution
Problem Loading...
Note Loading...
Set Loading...
Trivial investigation gives:
n = 1 ∑ 1 0 0 τ ( n ) = k = 1 ∑ 1 0 0 k ⌊ k 1 0 0 ⌋
Computing this isn't that hard. We'll follow the steps below:
5 1 ≤ k ≤ 1 0 0 ⟹ k = 5 1 ∑ 1 0 0 k ⌊ k 1 0 0 ⌋ = k = 5 1 ∑ 1 0 0 k = 3 7 7 5 ≡ 7 7 5 ( m o d 1 0 0 0 )
3 4 ≤ k ≤ 5 0 ⟹ k = 3 4 ∑ 5 0 k ⌊ k 1 0 0 ⌋ = 2 k = 3 4 ∑ 5 0 k = 1 4 2 8 ≡ 4 2 8 ( m o d 1 0 0 0 )
2 6 ≤ k ≤ 3 3 ⟹ k = 2 6 ∑ 3 3 k ⌊ k 1 0 0 ⌋ = 3 k = 2 6 ∑ 3 3 k = 7 0 8 ≡ 7 0 8 ( m o d 1 0 0 0 )
2 1 ≤ k ≤ 2 5 ⟹ k = 2 1 ∑ 2 5 k ⌊ k 1 0 0 ⌋ = 4 k = 2 1 ∑ 2 5 k = 4 6 0 ≡ 4 6 0 ( m o d 1 0 0 0 )
For 1 ≤ k ≤ 2 0 , we can easily calculate it since we are looking for the greatest multiple less than 1 0 0 of each of 1 ≤ k ≤ 2 0 . And the sum is 1 9 2 8 ≡ 9 2 8 ( m o d 1 0 0 0 ) .
In total, therefore, the answer is:
7 7 5 + 4 2 8 + 7 0 8 + 4 6 0 + 9 2 8 = 3 2 9 9 ≡ 2 9 9 ( m o d 1 0 0 0 )