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 . 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.
Problem 277
Official 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 . 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 . 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.