Let's divide 786904 by 6
We're looking to find how many times 6 goes into 786904.

On to step 1:
6 can be fit into 7 1 times, resulting in a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 6 from 7 leaves us with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 6

On to step 2:
The number 6 fits into 18 3 times, leaving a remainder of 0.
The next digit of our result is 3. 
Result so far: 13.0
If we take 18 away from 18, we end up with 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 6

On to step 3:
The number 6 fits into 6 1 times, leaving a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 131.0
If we subtract 6 from 6, we get 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 6

Moving on to step 4:
The number 6 fits into 9 1 times, leaving a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 1311.0
If we take 6 away from 9, we end up with 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 6

On to step 5:
6 can be fit into 30 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 13115.0
The remainder is 0 after subtracting 30 from 30.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 6

Advancing 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: 131150.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.

Step 7:
If we divide 40 by 6, we get 6 and a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 131150.6
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.

On to step 8:
40 divided by 6 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 131150.66
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.

The final result is 131150.66 with a remainder of 0.004.