We look at the division of 501406 by 5 
We want to divide 501406 by 5.

Step 1:
When dividing 5 by 5, we get 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 5 from 5, we get 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 5

Going ahead to step 2:
If we divide 0 by 5, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Deduct 0 from 0 and we're left with 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 5

Let's proceed to step 3:
1 divided by 5 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 100.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 5

Advancing to step 4:
The number 5 fits into 14 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 1002.0
Subtract 10 from 14 to get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 5

Advancing to step 5:
The number 5 fits into 40 8 times, leaving a remainder of 0.
The next digit of our result is 8. 
Result so far: 10028.0
If we take 40 away from 40, we end up with 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 5

Step 6:
If we divide 6 by 5, we get 1 and a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 100281.0
Subtracting 5 from 6 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
If we divide 10 by 5, we get 2 and a remainder of 0.
The next digit of our result is 2. 
Result so far: 100281.2
Subtract 10 from 10 to 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.

Advancing to step 8:
0 divided by 5 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 100281.2
Subtracting 0 from 0 leaves us with 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 9:
5 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 100281.2
If we take 0 away from 0, we end up with 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 quotient of the division is 100281.2, and the remainder is 0.0.