512228 divided by 6 
Let's see how many times 6 fits into 512228.

On to step 1:
When dividing 5 by 6, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 6

Moving on to step 2:
6 can be fit into 51 8 times, resulting in a remainder of 3.
The next digit of our result is 8. 
Result so far: 8.0
If we take 48 away from 51, we end up with 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 6

Let's proceed to step 3:
If we divide 32 by 6, we get 5 and a remainder of 2.
The next digit of our result is 5. 
Result so far: 85.0
Subtracting 30 from 32 leaves us with 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 6

Step 4:
If we divide 22 by 6, we get 3 and a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 853.0
Deduct 18 from 22 and we're left with 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 6

Going ahead to step 5:
6 goes into 42 7 times with a remainder of 0.
The next digit of our result is 7. 
Result so far: 8537.0
The remainder is 0 after subtracting 42 from 42.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 6

Let's proceed to step 6:
If we divide 8 by 6, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 85371.0
If we subtract 6 from 8, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
When dividing 20 by 6, we get 3 with a remainder of 2.
The next digit of our result is 3. 
Result so far: 85371.3
Subtract 18 from 20 to get 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 8:
6 goes into 20 3 times with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 85371.33
Subtract 18 from 20 to get 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 quotient of the division is 85371.33, and the remainder is 0.002.