We look at the division of 787627 by 6 
We're looking to find how many times 6 goes into 787627.

On to step 1:
When dividing 7 by 6, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 6 from 7, we get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 6

On to step 2:
18 divided by 6 is 3 with a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we take 18 away from 18, we end up with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 6

Advancing to step 3:
The number 6 fits into 7 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 131.0
Subtract 6 from 7 to get 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 6

On to step 4:
The number 6 fits into 16 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 1312.0
Subtract 12 from 16 to get 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 6

Moving on to step 5:
If we divide 42 by 6, we get 7 and a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 13127.0
Subtract 42 from 42 to get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 6

Step 6:
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: 131271.0
If we take 6 away from 7, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
If we divide 10 by 6, we get 1 and a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 131271.1
Subtracting 6 from 10 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.

Advancing to step 8:
40 divided by 6 is 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 131271.16
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.

Going ahead to step 9:
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: 131271.166
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.

After the division, we end up with 131271.166 and a remainder of 0.0004.