We're dividing 50108617 by 642 
Let's see how many times 642 fits into 50108617.

Going ahead to step 1:
If we divide 5 by 642, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 642

Going ahead to step 2:
642 goes into 50 0 times 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.
Bring next digit (1) of the dividend behind the 50 and repeat the process: 501 / 642

Going ahead to step 3:
When dividing 501 by 642, we get 0 with a remainder of 501.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 501, we get 501.
Append the next digit (0) from the dividend to 501 and continue with: 5010 / 642

Moving on to step 4:
642 can be fit into 5010 7 times, resulting in a remainder of 516.
The next digit of our result is 7. 
Result so far: 7.0
If we subtract 4494 from 5010, we get 516.
Grab the next digit (8) from the dividend, add it to 516, then carry on: 5168 / 642

On to step 5:
If we divide 5168 by 642, we get 8 and a remainder of 32.
Record the quotient 8 as the next digit in the result. 
Result so far: 78.0
Deduct 5136 from 5168 and we're left with 32.
Bring next digit (6) of the dividend behind the 32 and repeat the process: 326 / 642

Going ahead to step 6:
The number 642 fits into 326 0 times, leaving a remainder of 326.
Record the quotient 0 as the next digit in the result. 
Result so far: 780.0
Subtract 0 from 326 to get 326.
Bring next digit (1) of the dividend behind the 326 and repeat the process: 3261 / 642

Step 7:
3261 divided by 642 is 5 with a remainder of 51.
Record the quotient 5 as the next digit in the result. 
Result so far: 7805.0
If we take 3210 away from 3261, we end up with 51.
Include the next digit (7) from the dividend after 51, then repeat: 517 / 642

Going ahead to step 8:
642 can be fit into 517 0 times, resulting in a remainder of 517.
Write down 0 as next digit of the result. 
Result so far: 78050.0
The remainder is 517 after subtracting 0 from 517.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5170, and continue the process.

Going ahead to step 9:
When dividing 5170 by 642, we get 8 with a remainder of 34.
Record the quotient 8 as the next digit in the result. 
Result so far: 78050.8
Subtracting 5136 from 5170 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.

On to step 10:
340 divided by 642 is 0 with a remainder of 340.
Write down 0 as next digit of the result. 
Result so far: 78050.8
If we subtract 0 from 340, we get 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Advancing to step 11:
The number 642 fits into 3400 5 times, leaving a remainder of 190.
The next digit of our result is 5. 
Result so far: 78050.805
Deduct 3210 from 3400 and we're left with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Going ahead to step 12:
The number 642 fits into 1900 2 times, leaving a remainder of 616.
The number 2 becomes the next digit in our result. 
Result so far: 78050.8052
If we take 1284 away from 1900, we end up with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

Going ahead to step 13:
642 can be fit into 6160 9 times, resulting in a remainder of 382.
The number 9 becomes the next digit in our result. 
Result so far: 78050.80529
The remainder is 382 after subtracting 5778 from 6160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

Going ahead to step 14:
The number 642 fits into 3820 5 times, leaving a remainder of 610.
Record the quotient 5 as the next digit in the result. 
Result so far: 78050.805295
Subtract 3210 from 3820 to get 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

Advancing to step 15:
642 goes into 6100 9 times with a remainder of 322.
Write down 9 as next digit of the result. 
Result so far: 78050.8052959
If we take 5778 away from 6100, we end up with 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

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

The quotient of the division is 78050.80529595, and the remainder is 1e-08.