We look at the division of 508267 by 42 
We want to divide 508267 by 42.

Let's proceed to step 1:
When dividing 5 by 42, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 42

Going ahead to step 2:
42 goes into 50 1 times with a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 42 from 50 leaves us with 8.
Fetch the next digit (8) from the dividend, attach it to 8 and continue: 88 / 42

Going ahead to step 3:
88 divided by 42 is 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we subtract 84 from 88, we get 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 42

Step 4:
The number 42 fits into 42 1 times, leaving a remainder of 0.
The next digit of our result is 1. 
Result so far: 121.0
The remainder is 0 after subtracting 42 from 42.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 42

Let's proceed to step 5:
The number 42 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 1210.0
Subtracting 0 from 6 leaves us with 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 42

Advancing to step 6:
If we divide 67 by 42, we get 1 and a remainder of 25.
The next digit of our result is 1. 
Result so far: 12101.0
Subtracting 42 from 67 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 7:
If we divide 250 by 42, we get 5 and a remainder of 40.
The number 5 becomes the next digit in our result. 
Result so far: 12101.5
Deduct 210 from 250 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 8:
If we divide 400 by 42, we get 9 and a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 12101.59
If we subtract 378 from 400, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 9:
If we divide 220 by 42, we get 5 and a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 12101.595
The remainder is 10 after subtracting 210 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 10:
If we divide 100 by 42, we get 2 and a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 12101.5952
If we subtract 84 from 100, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 11:
42 can be fit into 160 3 times, resulting in a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 12101.59523
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.

Moving on to step 12:
The number 42 fits into 340 8 times, leaving a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 12101.595238
Deduct 336 from 340 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 13:
40 divided by 42 is 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 12101.595238
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 14:
If we divide 400 by 42, we get 9 and a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 12101.59523809
If we take 378 away from 400, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final result is 12101.59523809 with a remainder of 2.2e-08.