Maths Olympiad Prep

Track / Stage 2 / 37 of 240 #277 of 2444

Problem 277

Algebra Difficulty 2.1 Find the answer CEMC Pascal

Alicia starts a sequence with m=3m=3. What is the fifth term of her sequence following the algorithm: Step 1: Alicia writes down the number mm as the first term. Step 2: If mm is even, Alicia sets n=12mn=\frac{1}{2} m. If mm is odd, Alicia sets n=m+1n=m+1. Step 3: Alicia writes down the number m+n+1m+n+1 as the next term. Step 4: Alicia sets mm 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.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Next problem →

Official solution

We follow Alicia's algorithm carefully: Step 1: Alicia writes down m=3m=3 as the first term. Step 2: Since m=3m=3 is odd, Alicia sets n=m+1=4n=m+1=4. Step 3: Alicia writes down m+n+1=8m+n+1=8 as the second term. Step 4: Alicia sets m=8m=8. Step 2: Since m=8m=8 is even, Alicia sets n=12m=4n=\frac{1}{2} m=4. Step 3: Alicia writes down m+n+1=13m+n+1=13 as the third term. Step 4: Alicia sets m=13m=13. Step 2: Since m=13m=13 is odd, Alicia sets n=m+1=14n=m+1=14. Step 3: Alicia writes down m+n+1=28m+n+1=28 as the fourth term. Step 4: Alicia sets m=28m=28. Step 2: Since m=28m=28 is even, Alicia sets n=12m=14n=\frac{1}{2} m=14. Step 3: Alicia writes down m+n+1=43m+n+1=43 as the fifth term. Step 5: Since Alicia has written down five terms, she stops. Therefore, the fifth term is 43.

Source: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.