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

Step 1:
5 divided by 123 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 123

Going ahead to step 2:
When dividing 50 by 123, we get 0 with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Append the next digit (4) from the dividend to 50 and continue with: 504 / 123

Let's proceed to step 3:
123 goes into 504 4 times with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 492 from 504 to get 12.
Fetch the next digit (1) from the dividend, attach it to 12 and continue: 121 / 123

Let's proceed to step 4:
When dividing 121 by 123, we get 0 with a remainder of 121.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
Deduct 0 from 121 and we're left with 121.
Include the next digit (7) from the dividend after 121, then repeat: 1217 / 123

Moving on to step 5:
123 can be fit into 1217 9 times, resulting in a remainder of 110.
Put 9 as the next digit of the answer. 
Result so far: 409.0
Subtract 1107 from 1217 to get 110.
Grab the next digit (7) from the dividend, add it to 110, then carry on: 1107 / 123

Going ahead to step 6:
The number 123 fits into 1107 9 times, leaving a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 4099.0
Subtracting 1107 from 1107 leaves us with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 123

Advancing to step 7:
If we divide 7 by 123, we get 0 and a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 40990.0
If we take 0 away from 7, we end up with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 123

Advancing to step 8:
When dividing 78 by 123, we get 0 with a remainder of 78.
The next digit of our result is 0. 
Result so far: 409900.0
Deduct 0 from 78 and we're left with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Moving on to step 9:
123 can be fit into 780 6 times, resulting in a remainder of 42.
Use 6 as the next digit of our solution. 
Result so far: 409900.6
If we take 738 away from 780, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 10:
420 divided by 123 is 3 with a remainder of 51.
Record the quotient 3 as the next digit in the result. 
Result so far: 409900.63
Subtract 369 from 420 to get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Moving on to step 11:
When dividing 510 by 123, we get 4 with a remainder of 18.
The next digit of our result is 4. 
Result so far: 409900.634
If we subtract 492 from 510, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 12:
123 can be fit into 180 1 times, resulting in a remainder of 57.
The next digit of our result is 1. 
Result so far: 409900.6341
If we subtract 123 from 180, we get 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Moving on to step 13:
123 goes into 570 4 times with a remainder of 78.
The next digit of our result is 4. 
Result so far: 409900.63414
If we subtract 492 from 570, we get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Moving on to step 14:
780 divided by 123 is 6 with a remainder of 42.
The number 6 becomes the next digit in our result. 
Result so far: 409900.634146
If we take 738 away from 780, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 15:
123 can be fit into 420 3 times, resulting in a remainder of 51.
Record the quotient 3 as the next digit in the result. 
Result so far: 409900.6341463
If we subtract 369 from 420, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Moving on to step 16:
The number 123 fits into 510 4 times, leaving a remainder of 18.
Use 4 as the next digit of our solution. 
Result so far: 409900.63414634
The remainder is 18 after subtracting 492 from 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 409900.63414634 with a remaining 1.8e-08.