We look at the division of 6338842 by 126 
We're looking to find how many times 126 goes into 6338842.

Moving on to step 1:
The number 126 fits into 6 0 times, leaving a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Append the next digit (3) from the dividend to 6 and continue with: 63 / 126

Step 2:
63 divided by 126 is 0 with a remainder of 63.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 63 after subtracting 0 from 63.
Bring next digit (3) of the dividend behind the 63 and repeat the process: 633 / 126

Advancing to step 3:
126 goes into 633 5 times with a remainder of 3.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 630 from 633 leaves us with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 126

Moving on to step 4:
The number 126 fits into 38 0 times, leaving a remainder of 38.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
Deduct 0 from 38 and we're left with 38.
Take the next digit (8) from the dividend and append it to 38, then repeat: 388 / 126

Moving on to step 5:
126 goes into 388 3 times with a remainder of 10.
The next digit of our result is 3. 
Result so far: 503.0
If we take 378 away from 388, we end up with 10.
Include the next digit (4) from the dividend after 10, then repeat: 104 / 126

Advancing to step 6:
When dividing 104 by 126, we get 0 with a remainder of 104.
Use 0 as the next digit of our solution. 
Result so far: 5030.0
The remainder is 104 after subtracting 0 from 104.
Append the next digit (2) from the dividend to 104 and continue with: 1042 / 126

Going ahead to step 7:
If we divide 1042 by 126, we get 8 and a remainder of 34.
Write down 8 as next digit of the result. 
Result so far: 50308.0
Subtracting 1008 from 1042 leaves us 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.

Moving on to step 8:
126 can be fit into 340 2 times, resulting in a remainder of 88.
Record the quotient 2 as the next digit in the result. 
Result so far: 50308.2
The remainder is 88 after subtracting 252 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Let's proceed to step 9:
126 can be fit into 880 6 times, resulting in a remainder of 124.
Put 6 as the next digit of the answer. 
Result so far: 50308.26
If we subtract 756 from 880, we get 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Going ahead to step 10:
126 can be fit into 1240 9 times, resulting in a remainder of 106.
Write down 9 as next digit of the result. 
Result so far: 50308.269
Subtract 1134 from 1240 to get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Let's proceed to step 11:
When dividing 1060 by 126, we get 8 with a remainder of 52.
Write down 8 as next digit of the result. 
Result so far: 50308.2698
If we take 1008 away from 1060, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 12:
126 goes into 520 4 times with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 50308.26984
If we take 504 away from 520, we end up 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.

Advancing to step 13:
The number 126 fits into 160 1 times, leaving a remainder of 34.
Use 1 as the next digit of our solution. 
Result so far: 50308.269841
If we subtract 126 from 160, we 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.

Going ahead to step 14:
If we divide 340 by 126, we get 2 and a remainder of 88.
Use 2 as the next digit of our solution. 
Result so far: 50308.2698412
The remainder is 88 after subtracting 252 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Going ahead to step 15:
880 divided by 126 is 6 with a remainder of 124.
Use 6 as the next digit of our solution. 
Result so far: 50308.26984126
If we subtract 756 from 880, we get 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

After the division, we end up with 50308.26984126 and a remainder of 1.24e-07.