🧠 HugeMathBrain
Free teacher downloads

Grade 7 puzzle 1: Undo a repeated routine in reverse

A free grade 7 math puzzle that teaches Undo a repeated routine in reverse. Try it first — the hint and the full solution open when you are ready.

Problem 1 · Undo a repeated routine in reverse · 3 points

Made by AI and not reviewed by a real person.

A machine doubles a two-digit number, adds 7, then swaps the digits of the result. It runs this routine twice and displays 53. What number went in first?

  1. 32
  2. 14
  3. 17
  4. 23
  5. 28
Show a hint
  • What must the screen have shown just before the very last digit swap?
  • Work backward through the last round to find the number between the two rounds. Then work backward through the first round.
Show the answer and solution

Answer: C — 17

Working backward, swap 53 to get 35, subtract 7 to get 28, and halve to get 14. But 14 was the input to the second round, not the first. Swap 14 to get 41, subtract 7 to get 34, and halve to get 17. Checking forward: 17 → 34 → 41 → 14 → 28 → 35 → 53.

Solve it in the app More grade 7 puzzles

All 12 grade 7 puzzles · Problem 2 →