We look at the division of 50987710 by 5 
Our goal is to divide 50987710 by 5.

Moving on to step 1:
5 divided by 5 is 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 0 after subtracting 5 from 5.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 5

Let's proceed to step 2:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Deduct 0 from 0 and we're left with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 5

Step 3:
The number 5 fits into 9 1 times, leaving a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 101.0
If we subtract 5 from 9, we get 4.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 5

Going ahead to step 4:
48 divided by 5 is 9 with a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 1019.0
If we take 45 away from 48, we end up with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 5

On to step 5:
5 can be fit into 37 7 times, resulting in a remainder of 2.
The next digit of our result is 7. 
Result so far: 10197.0
Subtract 35 from 37 to get 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 5

Moving on to step 6:
5 can be fit into 27 5 times, resulting in a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 101975.0
Deduct 25 from 27 and we're left with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 5

Advancing to step 7:
5 can be fit into 21 4 times, resulting in a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 1019754.0
The remainder is 1 after subtracting 20 from 21.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 5

Step 8:
5 can be fit into 10 2 times, resulting in a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 10197542.0
If we subtract 10 from 10, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
5 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 10197542.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
If we divide 0 by 5, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10197542.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 10197542.0, with a leftover of 0.0.