Let denote the set of all integers such that , and moreover the sum of the decimal digits of is 2. Find the sum of the squares of the elements of .
Solution
From the given conditions, we want to calculate By observing the formula, we notice that each term is an exponent of shows up 7 times, shows up 2 times, shows up 9 times, shows up 4 times, shows up 9 times, 10 shows 2 times, 1 shows up 7 times. Thus the answer is 7294927.
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.