2015 AIME I Problem 9
Problem 9 of 15IntermediateAlgebraCombinatoricsProblem-Solving Techniques
Let be the set of all ordered triples of integers with Each ordered triple in generates a sequence according to the rule for Find the number of such sequences for which for some
Your answer
Integer from 0 to 999
Show solution
Solution
If then and if then so Hence every triple of one of the forms produces a These forms contain triples, but triples fitting two forms are counted twice: the of the form the in each of the six families (matching signs), and the in each of and That leaves triples.
A few other triples also work: if then and so These triples include and which were already counted, so they add new ones, for
No other triple reaches if both consecutive differences are at least and then and so inductively the terms grow forever and no factor ever vanishes. If instead with then and and the same growth takes over. The count is
Tagged: recursion · casework · inclusion-exclusion