We divide 5009918 by 5
We want to divide 5009918 by 5.

On to step 1:
If we divide 5 by 5, we get 1 and a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 5 from 5, we get 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 5

Step 2:
When dividing 0 by 5, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtracting 0 from 0 leaves us with 0.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 5

On to step 3:
If we divide 0 by 5, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 100.0
If we take 0 away from 0, we end up with 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 5

Advancing to step 4:
9 divided by 5 is 1 with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1001.0
Subtract 5 from 9 to get 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 5

Going ahead to step 5:
5 goes into 49 9 times with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 10019.0
Subtract 45 from 49 to get 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 5

Moving on to step 6:
41 divided by 5 is 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 100198.0
If we take 40 away from 41, we end up with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 5

Advancing to step 7:
If we divide 18 by 5, we get 3 and a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 1001983.0
Deduct 15 from 18 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 8:
If we divide 30 by 5, we get 6 and a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 1001983.6
If we subtract 30 from 30, 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.

Going ahead to step 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 1001983.6
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.

Let's proceed to step 10:
When dividing 0 by 5, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1001983.6
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.

Our division results in 1001983.6 with a remaining 0.0.