A recipe uses mL of sauce on day and mL on day . From day onward, the amount used each day is the average of the two previous days:
What is the integer part of ?
Work with the differences, not the terms. Subtracting from the recurrence gives
So each gap is exactly times the previous gap. Turning the two-term recurrence into a one-term geometric one is what makes term reachable without listing everything.
Write the gaps explicitly. The first gap is , so
The alternating sign is why the terms zig-zag () instead of marching one way.
Sum the geometric series to get the limit. Adding all the gaps from onward:
Equivalently : the weighted average with the newer term counted twice, because the invariant is unchanged by the recurrence. It is not .
Build the closed form. Since the deviation from shrinks by the factor each step,
Check it at : . Correct.
Evaluate at . The exponent is even, so the correction is positive:
Take the integer part. Since , the integer part is . A direct iteration of the recurrence in exact fractions reproduces , confirming the closed form.
Need to solve a different problem like this? Open the solver →