312974 divided by 42 
Our goal is to divide 312974 by 42.

Going ahead to step 1:
3 divided by 42 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 42

Advancing to step 2:
If we divide 31 by 42, we get 0 and a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Append the next digit (2) from the dividend to 31 and continue with: 312 / 42

Going ahead to step 3:
If we divide 312 by 42, we get 7 and a remainder of 18.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we take 294 away from 312, we end up with 18.
Grab the next digit (9) from the dividend, add it to 18, then carry on: 189 / 42

On to step 4:
When dividing 189 by 42, we get 4 with a remainder of 21.
The next digit of our result is 4. 
Result so far: 74.0
Deduct 168 from 189 and we're left with 21.
Fetch the next digit (7) from the dividend, attach it to 21 and continue: 217 / 42

Going ahead to step 5:
217 divided by 42 is 5 with a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 745.0
Subtract 210 from 217 to get 7.
Fetch the next digit (4) from the dividend, attach it to 7 and continue: 74 / 42

Step 6:
74 divided by 42 is 1 with a remainder of 32.
Write down 1 as next digit of the result. 
Result so far: 7451.0
If we take 42 away from 74, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 7:
42 can be fit into 320 7 times, resulting in a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 7451.7
Deduct 294 from 320 and we're left 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.

Moving on to step 8:
If we divide 260 by 42, we get 6 and a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 7451.76
Subtract 252 from 260 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
When dividing 80 by 42, we get 1 with a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 7451.761
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.

Step 10:
380 divided by 42 is 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 7451.7619
Deduct 378 from 380 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 11:
When dividing 20 by 42, we get 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 7451.7619
Subtracting 0 from 20 leaves us with 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 12:
42 goes into 200 4 times with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 7451.761904
If we take 168 away from 200, we end up with 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 13:
If we divide 320 by 42, we get 7 and a remainder of 26.
Use 7 as the next digit of our solution. 
Result so far: 7451.7619047
If we subtract 294 from 320, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 14:
42 can be fit into 260 6 times, resulting in a remainder of 8.
The next digit of our result is 6. 
Result so far: 7451.76190476
Subtract 252 from 260 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 7451.76190476 and a remainder of 8e-09.