Let S be the set of all those 2007-place decimal integers 2a1a2a3⋯a2006 which contain odd number of digit '9' in each sequence a1,a2,a3,⋯,a2006. The cardinal number of S is
Solution
Define A as the number of the elements in S, we have A=(12006)92005+(32006)92003+⋯+(20052006)9. On the other hand, (9+1)2006=k=0∑2006(k2006)92006−k and (9−1)2006=k=0∑2006(k2006)(−1)k92006−k. So A=(12006)92005+(32006)92003+⋯+(20052006)9=21(102006−82006).
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 and solution reproduced as published; topic and difficulty added by this site.