Skip to content / Đến nội dung
ThichHocToan.com

VTMO 2026 - Grade 4 - Semifinal - SET 7 - Self-study Question 24

VTMO · VTMO 2026 - Grade 4 - Semifinal - SET 7 - Self-study

Question 24

A natural-number machine performs the following operations. If the current number is even, divide it by 2. If it is odd, subtract 1. Continue until the result first reaches 0. Find the smallest input that takes exactly 6 operations.
Example: input 3 gives $3\to 2\to 1\to 0$, which takes 3 operations.

Question illustration