We divide 312170 by 42
We're looking to find how many times 42 goes into 312170.

On to step 1:
If we divide 3 by 42, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 42

Step 2:
When dividing 31 by 42, we get 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Include the next digit (2) from the dividend after 31, then repeat: 312 / 42

On to step 3:
The number 42 fits into 312 7 times, leaving a remainder of 18.
Put 7 as the next digit of the answer. 
Result so far: 7.0
If we take 294 away from 312, we end up with 18.
Take the next digit (1) from the dividend and append it to 18, then repeat: 181 / 42

Advancing to step 4:
42 can be fit into 181 4 times, resulting in a remainder of 13.
The next digit of our result is 4. 
Result so far: 74.0
If we subtract 168 from 181, we get 13.
Take the next digit (7) from the dividend and append it to 13, then repeat: 137 / 42

Step 5:
When dividing 137 by 42, we get 3 with a remainder of 11.
Put 3 as the next digit of the answer. 
Result so far: 743.0
If we take 126 away from 137, we end up with 11.
Include the next digit (0) from the dividend after 11, then repeat: 110 / 42

Let's proceed to step 6:
42 goes into 110 2 times with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 7432.0
If we take 84 away from 110, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 7:
260 divided by 42 is 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 7432.6
If we take 252 away from 260, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
42 can be fit into 80 1 times, resulting in a remainder of 38.
Use 1 as the next digit of our solution. 
Result so far: 7432.61
If we subtract 42 from 80, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 9:
If we divide 380 by 42, we get 9 and a remainder of 2.
The next digit of our result is 9. 
Result so far: 7432.619
Subtract 378 from 380 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.

Let's proceed to step 10:
42 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 7432.619
Subtract 0 from 20 to 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.

Step 11:
If we divide 200 by 42, we get 4 and a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 7432.61904
If we subtract 168 from 200, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 12:
42 can be fit into 320 7 times, resulting in a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 7432.619047
The remainder is 26 after subtracting 294 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 13:
If we divide 260 by 42, we get 6 and a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 7432.6190476
Subtracting 252 from 260 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 14:
42 can be fit into 80 1 times, resulting in a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 7432.61904761
The remainder is 38 after subtracting 42 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Our division results in 7432.61904761 with a remaining 3.8e-08.