500506 divided by 6 
Our goal is to divide 500506 by 6.

On to step 1:
6 goes into 5 0 times with 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.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 6

Moving on to step 2:
When dividing 50 by 6, we get 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtract 48 from 50 to get 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 6

Moving on to step 3:
If we divide 20 by 6, we get 3 and a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 83.0
If we subtract 18 from 20, we get 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 6

Step 4:
6 goes into 25 4 times with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 834.0
Subtracting 24 from 25 leaves us with 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 6

Going ahead to step 5:
If we divide 10 by 6, we get 1 and a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 8341.0
If we take 6 away from 10, we end up with 4.
Fetch the next digit (6) from the dividend, attach it to 4 and continue: 46 / 6

On to step 6:
6 can be fit into 46 7 times, resulting in a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 83417.0
Subtracting 42 from 46 leaves us 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.

On to step 7:
6 can be fit into 40 6 times, resulting in a remainder of 4.
The next digit of our result is 6. 
Result so far: 83417.6
Deduct 36 from 40 and we're left 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.

On to step 8:
40 divided by 6 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 83417.66
If we subtract 36 from 40, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 83417.66, and the remainder is 0.004.