Maths Olympiad Prep

Library / /106 of 144

Algebra Difficulty 2.4 Junior Find the answer

Consider the following flowchart: INPUT \rightarrow Subtract 88 \rightarrow \square \rightarrow Divide by 22 \rightarrow \square Add 1616 \rightarrow OUTPUT. If the OUTPUT is 32, what was the INPUT?

A number or a short expression. Spacing and $ signs are ignored.

Solution

We start from the OUTPUT and work back to the INPUT. Since the OUTPUT 32 is obtained from adding 16 to the previous number, then the previous number is 3216=1632 - 16 = 16. Since 16 is obtained by dividing the previous number by 2, then the previous number is 2×162 \times 16 or 32. Since 32 is obtained by subtracting 8 from the INPUT, then the INPUT must have been 32+8=4032 + 8 = 40.

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.

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.