Let's divide 510149 by 6
Our goal is to divide 510149 by 6.

Going ahead to step 1:
6 can be fit into 5 0 times, resulting in 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.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 6

Going ahead to step 2:
If we divide 51 by 6, we get 8 and a remainder of 3.
The next digit of our result is 8. 
Result so far: 8.0
If we subtract 48 from 51, we get 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 6

Let's proceed to step 3:
30 divided by 6 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 85.0
If we subtract 30 from 30, we get 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 6

Let's proceed to step 4:
When dividing 1 by 6, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 850.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 6

Step 5:
6 can be fit into 14 2 times, resulting in a remainder of 2.
The next digit of our result is 2. 
Result so far: 8502.0
Subtract 12 from 14 to get 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 6

On to step 6:
6 can be fit into 29 4 times, resulting in a remainder of 5.
Record the quotient 4 as the next digit in the result. 
Result so far: 85024.0
The remainder is 5 after subtracting 24 from 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
The number 6 fits into 50 8 times, leaving a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 85024.8
The remainder is 2 after subtracting 48 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
6 can be fit into 20 3 times, resulting in a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 85024.83
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
If we divide 20 by 6, we get 3 and a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 85024.833
If we take 18 away from 20, we end up with 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 85024.833, and the remainder is 0.0002.