We look at the division of 31379520 by 111 
We want to divide 31379520 by 111.

Let's proceed to step 1:
3 divided by 111 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 111

On to step 2:
31 divided by 111 is 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Include the next digit (3) from the dividend after 31, then repeat: 313 / 111

Going ahead to step 3:
When dividing 313 by 111, we get 2 with a remainder of 91.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 222 from 313 leaves us with 91.
Bring next digit (7) of the dividend behind the 91 and repeat the process: 917 / 111

Advancing to step 4:
917 divided by 111 is 8 with a remainder of 29.
Record the quotient 8 as the next digit in the result. 
Result so far: 28.0
The remainder is 29 after subtracting 888 from 917.
Append the next digit (9) from the dividend to 29 and continue with: 299 / 111

On to step 5:
111 can be fit into 299 2 times, resulting in a remainder of 77.
The number 2 becomes the next digit in our result. 
Result so far: 282.0
Subtract 222 from 299 to get 77.
Include the next digit (5) from the dividend after 77, then repeat: 775 / 111

Going ahead to step 6:
The number 111 fits into 775 6 times, leaving a remainder of 109.
Record the quotient 6 as the next digit in the result. 
Result so far: 2826.0
Deduct 666 from 775 and we're left with 109.
Bring next digit (2) of the dividend behind the 109 and repeat the process: 1092 / 111

On to step 7:
111 goes into 1092 9 times with a remainder of 93.
Write down 9 as next digit of the result. 
Result so far: 28269.0
If we take 999 away from 1092, we end up with 93.
Take the next digit (0) from the dividend and append it to 93, then repeat: 930 / 111

On to step 8:
When dividing 930 by 111, we get 8 with a remainder of 42.
The number 8 becomes the next digit in our result. 
Result so far: 282698.0
The remainder is 42 after subtracting 888 from 930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 9:
When dividing 420 by 111, we get 3 with a remainder of 87.
Write down 3 as next digit of the result. 
Result so far: 282698.3
Subtracting 333 from 420 leaves us with 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Moving on to step 10:
870 divided by 111 is 7 with a remainder of 93.
Put 7 as the next digit of the answer. 
Result so far: 282698.37
Subtract 777 from 870 to get 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Advancing to step 11:
If we divide 930 by 111, we get 8 and a remainder of 42.
The next digit of our result is 8. 
Result so far: 282698.378
The remainder is 42 after subtracting 888 from 930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 12:
420 divided by 111 is 3 with a remainder of 87.
Use 3 as the next digit of our solution. 
Result so far: 282698.3783
Subtracting 333 from 420 leaves us with 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Going ahead to step 13:
111 goes into 870 7 times with a remainder of 93.
Record the quotient 7 as the next digit in the result. 
Result so far: 282698.37837
If we take 777 away from 870, we end up with 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Going ahead to step 14:
930 divided by 111 is 8 with a remainder of 42.
The number 8 becomes the next digit in our result. 
Result so far: 282698.378378
Subtracting 888 from 930 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 15:
If we divide 420 by 111, we get 3 and a remainder of 87.
Put 3 as the next digit of the answer. 
Result so far: 282698.3783783
Subtracting 333 from 420 leaves us with 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Advancing to step 16:
If we divide 870 by 111, we get 7 and a remainder of 93.
Write down 7 as next digit of the result. 
Result so far: 282698.37837837
Subtract 777 from 870 to get 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

The final result is 282698.37837837 with a remainder of 9.3e-08.