Problem 22 · 1998 AJHSME
Stretch
Algebra & Patterns
find-the-cycle
Terri builds a sequence of positive integers by these rules: if the integer is less than 10, multiply it by 9; if it is even and greater than 9, divide it by 2; if it is odd and greater than 9, subtract 5. Find the 98th term of the sequence that begins 98, 49, … .
Show answer
Answer: D — 27.
Show hints
Hint 1 of 2
Nobody computes 98 terms by hand. These rule-driven sequences always trap into a repeating loop β generate terms only until you SEE a number come back, and you've found the cycle.
Still stuck? Show hint 2 →
Hint 2 of 2
Once the loop's length is L, terms repeat every L steps. Find where the cycle starts, then use the leftover after dividing to jump straight to the 98th term.
Show solution
Approach: generate until it loops, then use the cycle length to skip ahead
- Run the rules: 98 β(Γ·2) 49 β(β5) 44 β(Γ·2) 22 β(Γ·2) 11 β(β5) 6 β(Γ9) 54 β(Γ·2) 27 β(β5) 22 β¦ The 22 has returned, so from term 4 on it cycles 22, 11, 6, 54, 27 β a loop of length 5.
- Terms 4, 5, 6, 7, 8 are positions 0, 1, 2, 3, 4 of the cycle. For term 98, step in from term 4: that's 98 β 4 = 94 steps, and 94 leaves a leftover of 4 when shared into groups of 5. Position 4 of the cycle is 27.
- Why this transfers: any 'find the very-far term' of a rule-based sequence is really 'find the cycle, then take the step-count's leftover (its remainder) as your position.' The big index 98 never needs all 98 terms.
Mark:
· log in to save