505385 ÷ 6 
The aim is to understand the frequency of 6 in 505385.

Let's proceed to step 1:
When dividing 5 by 6, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 6

Going ahead to step 2:
The number 6 fits into 50 8 times, leaving a remainder of 2.
The next digit of our result is 8. 
Result so far: 8.0
Subtract 48 from 50 to get 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 6

On to step 3:
If we divide 25 by 6, we get 4 and a remainder of 1.
The next digit of our result is 4. 
Result so far: 84.0
Subtracting 24 from 25 leaves us with 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 6

On to step 4:
The number 6 fits into 13 2 times, leaving a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 842.0
The remainder is 1 after subtracting 12 from 13.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 6

Let's proceed to step 5:
6 goes into 18 3 times with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 8423.0
Deduct 18 from 18 and we're left with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 6

On to step 6:
The number 6 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 84230.0
Subtracting 0 from 5 leaves us with 5.
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:
50 divided by 6 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 84230.8
Deduct 48 from 50 and we're left 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.

Step 8:
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: 84230.83
Subtracting 18 from 20 leaves us 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.

Advancing to step 9:
20 divided by 6 is 3 with a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 84230.833
Subtracting 18 from 20 leaves us 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.

After the division, we end up with 84230.833 and a remainder of 0.0002.