10001₂ = 1 · 2⁴ + 0 + 0 + 0 + 1 · 2⁰ = 16 + 1 = 17₁₀
10010₂ = 1 · 2⁴ + 0 + 0 + 1 · 2¹ = 16 + 2 = 18₁₀
11000₂ = 1 · 2⁴ + 1 · 2³ + 0 + 0 + 0 = 16 + 8 = 24₁₀
10100₂ = 1 · 2⁴ + 0 + 1 · 2² + 0 + 0 = 16 + 4 = 20₁₀
24₈ = 2 · 8¹ + 4 · 8⁰ = 16 + 4 = 20₁₀
20 < 17? false
20 < 18? false
20 < 24? true
20 < 20? false
11000₂
10001₂ = 1 · 2⁴ + 0 + 0 + 0 + 1 · 2⁰ = 16 + 1 = 17₁₀
10010₂ = 1 · 2⁴ + 0 + 0 + 1 · 2¹ = 16 + 2 = 18₁₀
11000₂ = 1 · 2⁴ + 1 · 2³ + 0 + 0 + 0 = 16 + 8 = 24₁₀
10100₂ = 1 · 2⁴ + 0 + 1 · 2² + 0 + 0 = 16 + 4 = 20₁₀
24₈ = 2 · 8¹ + 4 · 8⁰ = 16 + 4 = 20₁₀
20 < 17? false
20 < 18? false
20 < 24? true
20 < 20? false
ответ11000₂