If x is a positive real number, let [x] denote the integer part of x, that is the greatest integer n≤x. Compute the sum ∑n=11000000[n]=[1]+[2]+…+[999999]+[1000000].
[The student may use, if they wish, the following formula: ∑i=1ki2=6k(k+1)(2k+1), whose proof is not required.]
Solution
Solution:
We have [n]=k if and only if k2≤n<(k+1)2=k2+2k+1, that is for n=k2+j with 0≤j≤2k, that is for 2k+1 values of j.
The required sum is obtained from expression (∗) by setting K=1000 and adding 1000=1000000, which had not yet been counted: thus we obtain 500⋅(333⋅4001+2).
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement translated into English from it; metadata (topic, difficulty) added by this project.