311837 divided by 42 
Let's see how many times 42 fits into 311837.

Going ahead to step 1:
If we divide 3 by 42, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 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
The remainder is 31 after subtracting 0 from 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 42

On to step 3:
When dividing 311 by 42, we get 7 with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 7.0
The remainder is 17 after subtracting 294 from 311.
Include the next digit (8) from the dividend after 17, then repeat: 178 / 42

Advancing to step 4:
The number 42 fits into 178 4 times, leaving a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 74.0
If we subtract 168 from 178, we get 10.
Append the next digit (3) from the dividend to 10 and continue with: 103 / 42

Advancing to step 5:
42 can be fit into 103 2 times, resulting in a remainder of 19.
Use 2 as the next digit of our solution. 
Result so far: 742.0
Subtracting 84 from 103 leaves us with 19.
Append the next digit (7) from the dividend to 19 and continue with: 197 / 42

Moving on to step 6:
The number 42 fits into 197 4 times, leaving a remainder of 29.
Use 4 as the next digit of our solution. 
Result so far: 7424.0
Deduct 168 from 197 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 7:
290 divided by 42 is 6 with a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 7424.6
Subtract 252 from 290 to 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.

Let's proceed to step 8:
The number 42 fits into 380 9 times, leaving a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 7424.69
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 9:
The number 42 fits into 20 0 times, leaving a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 7424.69
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.

Let's proceed to step 10:
42 goes into 200 4 times with a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 7424.6904
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.

Going ahead to step 11:
The number 42 fits into 320 7 times, leaving a remainder of 26.
Use 7 as the next digit of our solution. 
Result so far: 7424.69047
If we take 294 away from 320, 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 12:
The number 42 fits into 260 6 times, leaving a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 7424.690476
If we subtract 252 from 260, we 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.

Let's proceed to step 13:
When dividing 80 by 42, we get 1 with a remainder of 38.
The next digit of our result is 1. 
Result so far: 7424.6904761
Deduct 42 from 80 and we're left with 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 14:
380 divided by 42 is 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 7424.69047619
If we take 378 away from 380, we end up 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.

The final outcome is 7424.69047619, with a leftover of 2e-09.