For positive integers , , , let us write if is divisible by . Let be the sum of all positive integers less than or equal to for which , and be the sum of all positive integers less than or equal to for which . Find the value of .
Solution
Note that . So, we see that is the sum of the numbers
while is the sum of the numbers
For we have so we obtain
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.