31613532 ÷ 789 
We're looking to find how many times 789 goes into 31613532.

Advancing to step 1:
The number 789 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 789

Advancing to step 2:
When dividing 31 by 789, we get 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Bring next digit (6) of the dividend behind the 31 and repeat the process: 316 / 789

Going ahead to step 3:
The number 789 fits into 316 0 times, leaving a remainder of 316.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 316 after subtracting 0 from 316.
Fetch the next digit (1) from the dividend, attach it to 316 and continue: 3161 / 789

Let's proceed to step 4:
789 can be fit into 3161 4 times, resulting in a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 3156 from 3161 to get 5.
Include the next digit (3) from the dividend after 5, then repeat: 53 / 789

Moving on to step 5:
53 divided by 789 is 0 with a remainder of 53.
Put 0 as the next digit of the answer. 
Result so far: 40.0
If we subtract 0 from 53, we get 53.
Bring next digit (5) of the dividend behind the 53 and repeat the process: 535 / 789

On to step 6:
535 divided by 789 is 0 with a remainder of 535.
Put 0 as the next digit of the answer. 
Result so far: 400.0
Subtract 0 from 535 to get 535.
Fetch the next digit (3) from the dividend, attach it to 535 and continue: 5353 / 789

Step 7:
The number 789 fits into 5353 6 times, leaving a remainder of 619.
Record the quotient 6 as the next digit in the result. 
Result so far: 4006.0
Subtracting 4734 from 5353 leaves us with 619.
Bring next digit (2) of the dividend behind the 619 and repeat the process: 6192 / 789

Advancing to step 8:
The number 789 fits into 6192 7 times, leaving a remainder of 669.
Use 7 as the next digit of our solution. 
Result so far: 40067.0
If we take 5523 away from 6192, we end up with 669.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6690, and continue the process.

On to step 9:
6690 divided by 789 is 8 with a remainder of 378.
Put 8 as the next digit of the answer. 
Result so far: 40067.8
If we subtract 6312 from 6690, 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.

Step 10:
The number 789 fits into 3780 4 times, leaving a remainder of 624.
Use 4 as the next digit of our solution. 
Result so far: 40067.84
If we take 3156 away from 3780, we end up 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.

Going ahead to step 11:
6240 divided by 789 is 7 with a remainder of 717.
Use 7 as the next digit of our solution. 
Result so far: 40067.847
The remainder is 717 after subtracting 5523 from 6240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7170, and continue the process.

Let's proceed to step 12:
789 goes into 7170 9 times with a remainder of 69.
The number 9 becomes the next digit in our result. 
Result so far: 40067.8479
Deduct 7101 from 7170 and we're left with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Let's proceed to step 13:
789 goes into 690 0 times with a remainder of 690.
Record the quotient 0 as the next digit in the result. 
Result so far: 40067.8479
The remainder is 690 after subtracting 0 from 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6900, and continue the process.

Advancing to step 14:
When dividing 6900 by 789, we get 8 with a remainder of 588.
The number 8 becomes the next digit in our result. 
Result so far: 40067.847908
Deduct 6312 from 6900 and we're left with 588.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5880, and continue the process.

Going ahead to step 15:
5880 divided by 789 is 7 with a remainder of 357.
Write down 7 as next digit of the result. 
Result so far: 40067.8479087
If we take 5523 away from 5880, we end up with 357.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3570, and continue the process.

On to step 16:
789 goes into 3570 4 times with a remainder of 414.
The next digit of our result is 4. 
Result so far: 40067.84790874
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.

After the division, we end up with 40067.84790874 and a remainder of 4.14e-07.