We divide 511627 by 6
We're looking to find how many times 6 goes into 511627.

Going ahead to step 1:
When dividing 5 by 6, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 6

On to step 2:
The number 6 fits into 51 8 times, leaving a remainder of 3.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Deduct 48 from 51 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 6

Let's proceed to step 3:
When dividing 31 by 6, we get 5 with a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 85.0
Subtract 30 from 31 to get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 6

Let's proceed to step 4:
16 divided by 6 is 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 852.0
Subtracting 12 from 16 leaves us with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 6

Moving on to step 5:
The number 6 fits into 42 7 times, leaving a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 8527.0
If we take 42 away from 42, we end up with 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 6

Advancing to step 6:
If we divide 7 by 6, we get 1 and a remainder of 1.
The next digit of our result is 1. 
Result so far: 85271.0
Subtracting 6 from 7 leaves us 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.

Advancing to step 7:
When dividing 10 by 6, we get 1 with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 85271.1
Subtract 6 from 10 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.

Going ahead to step 8:
When dividing 40 by 6, we get 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 85271.16
Subtracting 36 from 40 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.

Going ahead to step 9:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 85271.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.

The quotient of the division is 85271.166, and the remainder is 0.0004.