Let's divide 50170518 by 138
Our goal is to divide 50170518 by 138.

Step 1:
138 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 138

On to step 2:
When dividing 50 by 138, we get 0 with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Take the next digit (1) from the dividend and append it to 50, then repeat: 501 / 138

Step 3:
The number 138 fits into 501 3 times, leaving a remainder of 87.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 414 from 501 leaves us with 87.
Grab the next digit (7) from the dividend, add it to 87, then carry on: 877 / 138

Advancing to step 4:
If we divide 877 by 138, we get 6 and a remainder of 49.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
Subtracting 828 from 877 leaves us with 49.
Fetch the next digit (0) from the dividend, attach it to 49 and continue: 490 / 138

Advancing to step 5:
138 goes into 490 3 times with a remainder of 76.
Use 3 as the next digit of our solution. 
Result so far: 363.0
Subtract 414 from 490 to get 76.
Fetch the next digit (5) from the dividend, attach it to 76 and continue: 765 / 138

Let's proceed to step 6:
When dividing 765 by 138, we get 5 with a remainder of 75.
Record the quotient 5 as the next digit in the result. 
Result so far: 3635.0
Subtracting 690 from 765 leaves us with 75.
Append the next digit (1) from the dividend to 75 and continue with: 751 / 138

On to step 7:
The number 138 fits into 751 5 times, leaving a remainder of 61.
The number 5 becomes the next digit in our result. 
Result so far: 36355.0
If we take 690 away from 751, we end up with 61.
Append the next digit (8) from the dividend to 61 and continue with: 618 / 138

Going ahead to step 8:
138 goes into 618 4 times with a remainder of 66.
Write down 4 as next digit of the result. 
Result so far: 363554.0
Deduct 552 from 618 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 9:
If we divide 660 by 138, we get 4 and a remainder of 108.
The number 4 becomes the next digit in our result. 
Result so far: 363554.4
Subtracting 552 from 660 leaves us with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

On to step 10:
When dividing 1080 by 138, we get 7 with a remainder of 114.
Put 7 as the next digit of the answer. 
Result so far: 363554.47
If we take 966 away from 1080, we end up with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Moving on to step 11:
138 can be fit into 1140 8 times, resulting in a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 363554.478
The remainder is 36 after subtracting 1104 from 1140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 12:
The number 138 fits into 360 2 times, leaving a remainder of 84.
Write down 2 as next digit of the result. 
Result so far: 363554.4782
Subtracting 276 from 360 leaves us with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 13:
If we divide 840 by 138, we get 6 and a remainder of 12.
The next digit of our result is 6. 
Result so far: 363554.47826
If we take 828 away from 840, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 14:
The number 138 fits into 120 0 times, leaving a remainder of 120.
Use 0 as the next digit of our solution. 
Result so far: 363554.47826
Subtract 0 from 120 to get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Advancing to step 15:
138 goes into 1200 8 times with a remainder of 96.
The next digit of our result is 8. 
Result so far: 363554.4782608
If we take 1104 away from 1200, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

On to step 16:
If we divide 960 by 138, we get 6 and a remainder of 132.
Write down 6 as next digit of the result. 
Result so far: 363554.47826086
Subtracting 828 from 960 leaves us with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

The final outcome is 363554.47826086, with a leftover of 1.32e-07.