We look at the division of 501364 by 6 
We want to divide 501364 by 6.

Step 1:
If we divide 5 by 6, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 6

On to step 2:
When dividing 50 by 6, we get 8 with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 8.0
The remainder is 2 after subtracting 48 from 50.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 6

Step 3:
If we divide 21 by 6, we get 3 and a remainder of 3.
The next digit of our result is 3. 
Result so far: 83.0
If we take 18 away from 21, we end up with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 6

Going ahead to step 4:
33 divided by 6 is 5 with a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 835.0
Subtracting 30 from 33 leaves us with 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 6

Step 5:
When dividing 36 by 6, we get 6 with a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 8356.0
Subtracting 36 from 36 leaves us with 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 6

On to step 6:
4 divided by 6 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 83560.0
The remainder is 4 after subtracting 0 from 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
The number 6 fits into 40 6 times, leaving a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 83560.6
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
40 divided by 6 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 83560.66
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

In conclusion, the division gives 83560.66 with a balance of 0.004.