Compute the number of sequences of integers such that the following conditions hold. - . - There exists a positive integer with the following property: for every index there exists an index such that is divisible by 203.
HMMT February
Solution
Let be an integer not divisible by 3. We'll show the answer for general such is . Let be the three excluded residues. Then works if and only if . Since has opposite orientation as , this is equivalent to forming an arithmetic progression (in some order) modulo centered at one of (or algebraically, one of holds, respectively). Since , it's impossible for more than one of these congruences to hold. So the number of distinct 3-sets corresponding to arithmetic progressions is . Since our specific is odd this gives .
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.