We're dividing 507958 by 6 
We're looking to find how many times 6 goes into 507958.

Advancing to step 1:
6 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 6

Going ahead to step 2:
6 goes into 50 8 times with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtracting 48 from 50 leaves us with 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 6

Let's proceed to step 3:
6 can be fit into 27 4 times, resulting in a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 84.0
Deduct 24 from 27 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 6

Let's proceed to step 4:
6 goes into 39 6 times with a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 846.0
Subtract 36 from 39 to get 3.
Take the next digit (5) from the dividend and append it to 3, then repeat: 35 / 6

On to step 5:
6 goes into 35 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 8465.0
If we take 30 away from 35, we end up with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 6

Advancing to step 6:
58 divided by 6 is 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 84659.0
If we subtract 54 from 58, 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.

Moving on to step 7:
6 goes into 40 6 times with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 84659.6
Subtract 36 from 40 to 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.

Advancing to step 8:
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: 84659.66
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.

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