A way to divide by nine without using division!
This once concept turned into Python script shows a way to divide any natural number by nine.
This works because nine has properties no other single digit number has (e.g. adding or subtracting nine to any digit of a natural number doesn't change the sum of the digits). With these properties in mind dividing by nine is possible.
Here is a step by step guide to dividing by nine by hand.
To divide numbers below 99 you:
-
Get the sum of the number of digits
- If the sum is greater than nine sum the new digits until true
-
Subtract the sum of the digits from the number if the sum is not nine
-
Subtract the number in the one's place from ten
- This is the whole part of the result
-
Take the sum from step 1. and add it after the decimal point (repeated)
- Only if the sum isn't nine
And you have the number divided by nine!
For this example we have 52
Sum the digits (5 + 2 = 7
)
Subtract the sum from the number (52 - 7 = 45
)
Subtract the digit in the one's place from ten (10 - 5 = 5
)
Add the sum as the decimal (5.0 -> 5.(7)
)
For dividing numbers equal to 99 and above is a bit different but still follows the Numbers below 99 set of instructions.
Still to divide by nine you:
-
Get the sum of the number of digits
- If the sum is greater than nine sum the new digits until true
-
Subtract the sum of the digits from the number if the sum is not nine
-
Subtract the number in the one's place from ten,
plus how many times the number passes a multiple of 99 times 10
- The formula would be
10 + Passes * 10
- The formula would be
-
Take the sum from step 1. and add it after the decimal point (repeated)
- Only if the sum isn't nine
And you have the number divided by nine!
This time we will divide 128
Add the digits (1 + 2 + 8 = 11, 1 + 1 = 2
)
Subtract the sum from the number (128 - 2 = 126
)
Subtract the first digit from 10 + Passes * 10
for the whole (20 - 6 = 14
)
Add the sum as the decimal (14.0 -> 14.(2)
)