Skip to main content

Proof: The sum of any three single-digit numbers is at most two digits long

Here comes another trivial proof (the base must be at least 2 for the obvious reason):

Suppose x, y, z are single-digit numbers in base b ≥ 2. By the definition, 0≤x≤b−1, 0≤y≤b−1, and 0≤z≤b−1. Thus, the sum x+y+z has the property 0≤x+y+z≤b−1+b−1+b−1=3b−3.

Case 1, x+y+z<b #

In this case, the sum can be expressed in single digit.

Case 2, b≤x+y+z≤3b−3 #

Let d1=⌊x+y+zb⌋ and d0=x+y+z−d1b. Then 0≤x+y+zb≤3−3b and 0≤⌊x+y+zb⌋≤3−⌊3b⌋. Because b ≥ 2, ⌊3b⌋=0. It follows that 0≤⌊x+y+zb⌋≤3 and 0≤d1≤3.

Using the property of the ceiling function:

0≤x+y+z−x+y+zbb≤x+y+z−⌊x+y+zb⌋b x+y+zb−1<⌊x+y+zb⌋

It follows that x+y+zbb−b<⌊x+y+zb⌋b or that x+y+z−b<⌊x+y+zb⌋b. Now multiply −1 to both sides to get −(x+y+z)+b>−⌊x+y+zb⌋b and b>x+y+z−⌊x+y+zb⌋b. Since x+y+z are integers, x+y+z−⌊x+y+zb⌋b≤b−1. Thus, 0≤x+y+z−⌊x+y+zb⌋b≤b−1 and 0≤d0≤b−1.

Given the above, the sum x + y + z can be expressed as x+y+z=d1b+d0 where 0≤d1≤3 and 0≤d0≤b−1. Hence x+y+z can be expressed in two digits.

Thus in both cases, the sum of three numbers x, y, z can be at most two digits long. Q.E.D.