2007 AIME I Problem 6
Problem 6 of 15IntermediateCombinatoricsProblem-Solving Techniques
A frog is placed at the origin on the number line, and moves according to the following rule: in a given move, the frog advances to either the closest point with a greater integer coordinate that is a multiple of or to the closest point with a greater integer coordinate that is a multiple of A move sequence is a sequence of coordinates which correspond to valid moves, beginning with and ending with For example, is a move sequence. How many move sequences are possible for the frog?
Your answer
Integer from 0 to 999
Show solution
Solution
Split the journey at the landmarks and From the frog climbs the multiples of and may jump to from any of giving routes from to likewise there are routes from to (jump to from ) and from to To skip entirely the frog must take the multiple-of- option every time through then jump to from one of routes from to avoiding Similarly there are routes from to avoiding and from to avoiding both.
Combining the segments: through both landmarks, through only, through only, through neither, The total is
Tagged: multiplication principle · casework