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

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
Subtract 0 from 5 to get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 6

Advancing to step 2:
6 can be fit into 50 8 times, resulting in a remainder of 2.
The next digit of our result is 8. 
Result so far: 8.0
The remainder is 2 after subtracting 48 from 50.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 6

Advancing to step 3:
When dividing 23 by 6, we get 3 with a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 83.0
If we take 18 away from 23, we end up with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 6

Step 4:
58 divided by 6 is 9 with a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 839.0
Subtract 54 from 58 to get 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 6

Going ahead to step 5:
If we divide 45 by 6, we get 7 and a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 8397.0
If we subtract 42 from 45, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 6

Moving on to step 6:
When dividing 31 by 6, we get 5 with a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 83975.0
The remainder is 1 after subtracting 30 from 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

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: 83975.1
Deduct 6 from 10 and we're left 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.

On to step 8:
If we divide 40 by 6, we get 6 and a remainder of 4.
The next digit of our result is 6. 
Result so far: 83975.16
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.

Moving on to step 9:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 83975.166
If we take 36 away from 40, we end up 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.

Our division results in 83975.166 with a remaining 0.0004.