We're dividing 51267946 by 42 
We want to divide 51267946 by 42.

Going ahead to step 1:
If we divide 5 by 42, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 42

On to step 2:
The number 42 fits into 51 1 times, leaving a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 42 from 51, we get 9.
Include the next digit (2) from the dividend after 9, then repeat: 92 / 42

Moving on to step 3:
42 can be fit into 92 2 times, resulting in a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Subtract 84 from 92 to get 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 42

Step 4:
42 can be fit into 86 2 times, resulting in a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 122.0
Subtracting 84 from 86 leaves us with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 42

Going ahead to step 5:
If we divide 27 by 42, we get 0 and a remainder of 27.
Use 0 as the next digit of our solution. 
Result so far: 1220.0
Subtract 0 from 27 to get 27.
Bring next digit (9) of the dividend behind the 27 and repeat the process: 279 / 42

On to step 6:
42 can be fit into 279 6 times, resulting in a remainder of 27.
Use 6 as the next digit of our solution. 
Result so far: 12206.0
The remainder is 27 after subtracting 252 from 279.
Fetch the next digit (4) from the dividend, attach it to 27 and continue: 274 / 42

Step 7:
If we divide 274 by 42, we get 6 and a remainder of 22.
Put 6 as the next digit of the answer. 
Result so far: 122066.0
The remainder is 22 after subtracting 252 from 274.
Bring next digit (6) of the dividend behind the 22 and repeat the process: 226 / 42

Going ahead to step 8:
226 divided by 42 is 5 with a remainder of 16.
Write down 5 as next digit of the result. 
Result so far: 1220665.0
Deduct 210 from 226 and we're left 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:
The number 42 fits into 160 3 times, leaving a remainder of 34.
The next digit of our result is 3. 
Result so far: 1220665.3
Deduct 126 from 160 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 10:
42 goes into 340 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 1220665.38
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:
If we divide 40 by 42, we get 0 and a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 1220665.38
If we subtract 0 from 40, we 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.

Going ahead to step 12:
42 can be fit into 400 9 times, resulting in a remainder of 22.
The next digit of our result is 9. 
Result so far: 1220665.3809
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.

Let's proceed to step 13:
42 can be fit into 220 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 1220665.38095
If we take 210 away from 220, we end up 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.

Advancing to step 14:
42 can be fit into 100 2 times, resulting in a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 1220665.380952
Subtract 84 from 100 to 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.

Step 15:
The number 42 fits into 160 3 times, leaving a remainder of 34.
Record the quotient 3 as the next digit in the result. 
Result so far: 1220665.3809523
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.

Let's proceed to step 16:
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: 1220665.38095238
If we take 336 away from 340, we end up 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.

The final result is 1220665.38095238 with a remainder of 4e-09.