We're dividing 312187 by 42 
We're looking to find how many times 42 goes into 312187.

Step 1:
42 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 42

Step 2:
42 goes into 31 0 times with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Append the next digit (2) from the dividend to 31 and continue with: 312 / 42

On to step 3:
The number 42 fits into 312 7 times, leaving a remainder of 18.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
The remainder is 18 after subtracting 294 from 312.
Fetch the next digit (1) from the dividend, attach it to 18 and continue: 181 / 42

Advancing to step 4:
When dividing 181 by 42, we get 4 with a remainder of 13.
The number 4 becomes the next digit in our result. 
Result so far: 74.0
Subtracting 168 from 181 leaves us with 13.
Fetch the next digit (8) from the dividend, attach it to 13 and continue: 138 / 42

Advancing to step 5:
138 divided by 42 is 3 with a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 743.0
Subtracting 126 from 138 leaves us with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 42

Step 6:
127 divided by 42 is 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 7433.0
Subtract 126 from 127 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
42 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 7433.0
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
100 divided by 42 is 2 with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 7433.02
Subtracting 84 from 100 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 9:
42 can be fit into 160 3 times, resulting in a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 7433.023
Subtract 126 from 160 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 10:
340 divided by 42 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 7433.0238
If we subtract 336 from 340, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
42 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 7433.0238
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 12:
400 divided by 42 is 9 with a remainder of 22.
The number 9 becomes the next digit in our result. 
Result so far: 7433.023809
The remainder is 22 after subtracting 378 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 13:
The number 42 fits into 220 5 times, leaving a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 7433.0238095
If we subtract 210 from 220, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 14:
The number 42 fits into 100 2 times, leaving a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 7433.02380952
The remainder is 16 after subtracting 84 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The quotient of the division is 7433.02380952, and the remainder is 1.6e-08.