2004 AIME I Problem 15
Attempt Problem 15 of the 2004 AIME I below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2004 AIME I solutions, or check the answer key.
All problems are used with official legal permission of the Mathematical Association of America (MAA).
15.
For all positive integers let and define a sequence as follows: and for all positive integers Let be the smallest such that (For example, and ) Let be the number of positive integers such that Find the sum of the distinct prime factors of
Answer: 511
Small hint:
Work backwards from each has preimages and unless ends in or
Big hint:
Column of the preimage tree would have numbers if every vertex had two children; subtract for each one-child vertex in column
Solution:
Work backwards: for (always) and for (provided is not a multiple of and i.e. does not end in and ). So the integers with form column of a tree rooted at the columns begin and every vertex has two children except and the vertices ending in which have only the child
Locate those one-child vertices. Since the vertex sits in column A vertex ending in is reached by subtracting nine times from a vertex ending in so such vertices sit columns after the multiples of in the tree. Columns through double perfectly (no one-child vertices occur that early), so column has vertices, of which the multiples of — the children of column — number Hence for column contains vertices ending in (column has none, because the multiple of in column is itself, whose descendant is excluded — that exclusion is exactly the missing child of ).
A one-child vertex in column removes of the potential vertices from column Therefore Since is prime, the sum of the distinct prime factors of is
Problem 15 in other years
- 1983 AIME
- 1984 AIME
- 1985 AIME
- 1986 AIME
- 1987 AIME
- 1988 AIME
- 1989 AIME
- 1990 AIME
- 1991 AIME
- 1992 AIME
- 1993 AIME
- 1994 AIME
- 1995 AIME
- 1996 AIME
- 1997 AIME
- 1998 AIME
- 1999 AIME
- 2000 AIME I
- 2000 AIME II
- 2001 AIME I
- 2001 AIME II
- 2002 AIME I
- 2002 AIME II
- 2003 AIME I
- 2003 AIME II
- 2004 AIME II
- 2005 AIME I
- 2005 AIME II
- 2006 AIME I
- 2006 AIME II
- 2007 AIME I
- 2007 AIME II
- 2008 AIME I
- 2008 AIME II
- 2009 AIME I
- 2009 AIME II
- 2010 AIME I
- 2010 AIME II
- 2011 AIME I
- 2011 AIME II
- 2012 AIME I
- 2012 AIME II
- 2013 AIME I
- 2013 AIME II
- 2014 AIME I
- 2014 AIME II
- 2015 AIME I
- 2015 AIME II
- 2016 AIME I
- 2016 AIME II
- 2017 AIME I
- 2017 AIME II
- 2018 AIME I
- 2018 AIME II
- 2019 AIME I
- 2019 AIME II
- 2020 AIME I
- 2020 AIME II
- 2021 AIME I
- 2021 AIME II
- 2022 AIME I
- 2022 AIME II
- 2023 AIME I
- 2023 AIME II
- 2024 AIME I
- 2024 AIME II
- 2025 AIME I
- 2025 AIME II
- 2026 AIME I
- 2026 AIME II