We look at the division of 28161366 by 789 
Our goal is to divide 28161366 by 789.

Let's proceed to step 1:
789 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 789

Step 2:
When dividing 28 by 789, we get 0 with a remainder of 28.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 28 leaves us with 28.
Append the next digit (1) from the dividend to 28 and continue with: 281 / 789

Going ahead to step 3:
When dividing 281 by 789, we get 0 with a remainder of 281.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 281 and we're left with 281.
Grab the next digit (6) from the dividend, add it to 281, then carry on: 2816 / 789

Let's proceed to step 4:
2816 divided by 789 is 3 with a remainder of 449.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 2367 from 2816, we get 449.
Grab the next digit (1) from the dividend, add it to 449, then carry on: 4491 / 789

Let's proceed to step 5:
4491 divided by 789 is 5 with a remainder of 546.
Put 5 as the next digit of the answer. 
Result so far: 35.0
The remainder is 546 after subtracting 3945 from 4491.
Grab the next digit (3) from the dividend, add it to 546, then carry on: 5463 / 789

Let's proceed to step 6:
The number 789 fits into 5463 6 times, leaving a remainder of 729.
Record the quotient 6 as the next digit in the result. 
Result so far: 356.0
The remainder is 729 after subtracting 4734 from 5463.
Take the next digit (6) from the dividend and append it to 729, then repeat: 7296 / 789

Moving on to step 7:
789 goes into 7296 9 times with a remainder of 195.
Put 9 as the next digit of the answer. 
Result so far: 3569.0
If we take 7101 away from 7296, we end up with 195.
Include the next digit (6) from the dividend after 195, then repeat: 1956 / 789

Step 8:
789 goes into 1956 2 times with a remainder of 378.
Write down 2 as next digit of the result. 
Result so far: 35692.0
If we subtract 1578 from 1956, we get 378.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3780, and continue the process.

Let's proceed to step 9:
The number 789 fits into 3780 4 times, leaving a remainder of 624.
Write down 4 as next digit of the result. 
Result so far: 35692.4
Deduct 3156 from 3780 and we're left with 624.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6240, and continue the process.

Advancing to step 10:
When dividing 6240 by 789, we get 7 with a remainder of 717.
Put 7 as the next digit of the answer. 
Result so far: 35692.47
Subtracting 5523 from 6240 leaves us with 717.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7170, and continue the process.

On to step 11:
789 can be fit into 7170 9 times, resulting in a remainder of 69.
The next digit of our result is 9. 
Result so far: 35692.479
Subtract 7101 from 7170 to get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Step 12:
789 goes into 690 0 times with a remainder of 690.
Write down 0 as next digit of the result. 
Result so far: 35692.479
Subtracting 0 from 690 leaves us with 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6900, and continue the process.

Step 13:
When dividing 6900 by 789, we get 8 with a remainder of 588.
The next digit of our result is 8. 
Result so far: 35692.47908
The remainder is 588 after subtracting 6312 from 6900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5880, and continue the process.

Let's proceed to step 14:
When dividing 5880 by 789, we get 7 with a remainder of 357.
Record the quotient 7 as the next digit in the result. 
Result so far: 35692.479087
Subtract 5523 from 5880 to get 357.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3570, and continue the process.

Let's proceed to step 15:
When dividing 3570 by 789, we get 4 with a remainder of 414.
The next digit of our result is 4. 
Result so far: 35692.4790874
Subtract 3156 from 3570 to get 414.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4140, and continue the process.

Advancing to step 16:
If we divide 4140 by 789, we get 5 and a remainder of 195.
The number 5 becomes the next digit in our result. 
Result so far: 35692.47908745
Subtracting 3945 from 4140 leaves us with 195.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1950, and continue the process.

The final result is 35692.47908745 with a remainder of 1.95e-07.