Let's divide 31785306 by 389
Our goal is to divide 31785306 by 389.

Let's proceed to step 1:
When dividing 3 by 389, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 389

Going ahead to step 2:
The number 389 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 389

Going ahead to step 3:
When dividing 317 by 389, we get 0 with a remainder of 317.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 317, we end up with 317.
Grab the next digit (8) from the dividend, add it to 317, then carry on: 3178 / 389

Going ahead to step 4:
The number 389 fits into 3178 8 times, leaving a remainder of 66.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
If we subtract 3112 from 3178, we get 66.
Fetch the next digit (5) from the dividend, attach it to 66 and continue: 665 / 389

Moving on to step 5:
389 can be fit into 665 1 times, resulting in a remainder of 276.
Use 1 as the next digit of our solution. 
Result so far: 81.0
Subtracting 389 from 665 leaves us with 276.
Append the next digit (3) from the dividend to 276 and continue with: 2763 / 389

Let's proceed to step 6:
389 goes into 2763 7 times with a remainder of 40.
Use 7 as the next digit of our solution. 
Result so far: 817.0
If we take 2723 away from 2763, we end up with 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 389

Step 7:
389 goes into 400 1 times with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 8171.0
Subtract 389 from 400 to get 11.
Fetch the next digit (6) from the dividend, attach it to 11 and continue: 116 / 389

Going ahead to step 8:
If we divide 116 by 389, we get 0 and a remainder of 116.
The next digit of our result is 0. 
Result so far: 81710.0
Subtract 0 from 116 to get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Going ahead to step 9:
1160 divided by 389 is 2 with a remainder of 382.
Put 2 as the next digit of the answer. 
Result so far: 81710.2
Deduct 778 from 1160 and we're left with 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

Let's proceed to step 10:
If we divide 3820 by 389, we get 9 and a remainder of 319.
Put 9 as the next digit of the answer. 
Result so far: 81710.29
If we subtract 3501 from 3820, we get 319.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3190, and continue the process.

On to step 11:
389 can be fit into 3190 8 times, resulting in a remainder of 78.
Write down 8 as next digit of the result. 
Result so far: 81710.298
If we subtract 3112 from 3190, we get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Going ahead to step 12:
If we divide 780 by 389, we get 2 and a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 81710.2982
Subtract 778 from 780 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 13:
When dividing 20 by 389, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 81710.2982
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 14:
389 goes into 200 0 times with a remainder of 200.
Record the quotient 0 as the next digit in the result. 
Result so far: 81710.2982
Deduct 0 from 200 and we're left with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The quotient of the division is 81710.2982, and the remainder is 2e-05.