507782 divided by 6 
We want to figure out the number of times 507782 can be divided by 6.

Moving on to step 1:
6 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 6

Moving 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.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 6

On to step 3:
If we divide 27 by 6, we get 4 and a remainder of 3.
The next digit of our result is 4. 
Result so far: 84.0
The remainder is 3 after subtracting 24 from 27.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 6

Let's proceed to step 4:
37 divided by 6 is 6 with a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 846.0
If we take 36 away from 37, we end up with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 6

Let's proceed to step 5:
18 divided by 6 is 3 with a remainder of 0.
The next digit of our result is 3. 
Result so far: 8463.0
Subtract 18 from 18 to get 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 6

On to step 6:
The number 6 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 84630.0
The remainder is 2 after subtracting 0 from 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
6 can be fit into 20 3 times, resulting in a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 84630.3
Deduct 18 from 20 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
6 goes into 20 3 times with a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 84630.33
Subtracting 18 from 20 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 84630.33, with a leftover of 0.002.