AMC 8 · 2020 · #22

Grade 4 number-theorylogic
parityrecursive-sequencedivisibility-rulesfunction-evaluation tree-enumerationcaseworksystematic-enumeration ↑ Prerequisites: parityfunction-evaluation
📏 Long solution 💡 4 insights 📊 Diagram
📘 View easy version →

Problem

When a positive integer NN is fed into a machine, the output is a number calculated according to the rule shown below.

For example, starting with an input of N=7,N=7, the machine will output 37+1=22.3 \cdot 7 +1 = 22. Then if the output is repeatedly inserted into the machine five more times, the final output is 26.26.72211341752267 \to 22 \to 11 \to 34 \to 17 \to 52 \to 26When the same 66-step process is applied to a different starting value of N,N, the final output is 1.1. What is the sum of all such integers N?N?N1N \to \rule{0.5cm}{0.15mm} \to \rule{0.5cm}{0.15mm} \to \rule{0.5cm}{0.15mm} \to \rule{0.5cm}{0.15mm} \to \rule{0.5cm}{0.15mm} \to 1

Pick an answer.

(A)
73
(B)
74
(C)
75
(D)
82
(E)
83

AMC 8 2020 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

Try it yourself first — the explanation is most useful after you’ve attempted it.