We look at the division of 31875334 by 842 
Our goal is to divide 31875334 by 842.

On to step 1:
842 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 842

On to step 2:
When dividing 31 by 842, we get 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Grab the next digit (8) from the dividend, add it to 31, then carry on: 318 / 842

On to step 3:
318 divided by 842 is 0 with a remainder of 318.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 318 leaves us with 318.
Append the next digit (7) from the dividend to 318 and continue with: 3187 / 842

On to step 4:
3187 divided by 842 is 3 with a remainder of 661.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 2526 from 3187 to get 661.
Grab the next digit (5) from the dividend, add it to 661, then carry on: 6615 / 842

Let's proceed to step 5:
842 goes into 6615 7 times with a remainder of 721.
Put 7 as the next digit of the answer. 
Result so far: 37.0
Subtract 5894 from 6615 to get 721.
Grab the next digit (3) from the dividend, add it to 721, then carry on: 7213 / 842

Let's proceed to step 6:
7213 divided by 842 is 8 with a remainder of 477.
The next digit of our result is 8. 
Result so far: 378.0
If we take 6736 away from 7213, we end up with 477.
Append the next digit (3) from the dividend to 477 and continue with: 4773 / 842

Let's proceed to step 7:
When dividing 4773 by 842, we get 5 with a remainder of 563.
The number 5 becomes the next digit in our result. 
Result so far: 3785.0
If we subtract 4210 from 4773, we get 563.
Fetch the next digit (4) from the dividend, attach it to 563 and continue: 5634 / 842

Advancing to step 8:
The number 842 fits into 5634 6 times, leaving a remainder of 582.
Record the quotient 6 as the next digit in the result. 
Result so far: 37856.0
Subtracting 5052 from 5634 leaves us with 582.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5820, and continue the process.

Advancing to step 9:
The number 842 fits into 5820 6 times, leaving a remainder of 768.
Write down 6 as next digit of the result. 
Result so far: 37856.6
If we subtract 5052 from 5820, we get 768.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7680, and continue the process.

Going ahead to step 10:
When dividing 7680 by 842, we get 9 with a remainder of 102.
Record the quotient 9 as the next digit in the result. 
Result so far: 37856.69
Deduct 7578 from 7680 and we're left with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

On to step 11:
The number 842 fits into 1020 1 times, leaving a remainder of 178.
The number 1 becomes the next digit in our result. 
Result so far: 37856.691
If we take 842 away from 1020, we end up with 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Let's proceed to step 12:
842 can be fit into 1780 2 times, resulting in a remainder of 96.
Put 2 as the next digit of the answer. 
Result so far: 37856.6912
Deduct 1684 from 1780 and we're left with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

On to step 13:
960 divided by 842 is 1 with a remainder of 118.
Write down 1 as next digit of the result. 
Result so far: 37856.69121
Subtracting 842 from 960 leaves us with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Step 14:
The number 842 fits into 1180 1 times, leaving a remainder of 338.
Use 1 as the next digit of our solution. 
Result so far: 37856.691211
Subtract 842 from 1180 to get 338.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3380, and continue the process.

The final result is 37856.691211 with a remainder of 3.38e-05.