Alicia starts a sequence with . What is the fifth term of her sequence following the algorithm: Step 1: Alicia writes down the number as the first term. Step 2: If is even, Alicia sets n=rac{1}{2} m. If is odd, Alicia sets . Step 3: Alicia writes down the number as the next term. Step 4: Alicia sets equal to the value of the term that she just wrote down in Step 3. Step 5: Alicia repeats Steps 2, 3, 4 until she has five terms, at which point she stops.
Solution
We follow Alicia's algorithm carefully: Step 1: Alicia writes down as the first term. Step 2: Since is odd, Alicia sets . Step 3: Alicia writes down as the second term. Step 4: Alicia sets . Step 2: Since is even, Alicia sets n=rac{1}{2} m=4. Step 3: Alicia writes down as the third term. Step 4: Alicia sets . Step 2: Since is odd, Alicia sets . Step 3: Alicia writes down as the fourth term. Step 4: Alicia sets . Step 2: Since is even, Alicia sets n=rac{1}{2} m=14. Step 3: Alicia writes down as the fifth term. Step 5: Since Alicia has written down five terms, she stops. Therefore, the fifth term is 43.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.