Let's divide 506848 by 3
The aim is to understand the frequency of 3 in 506848.

Advancing to step 1:
3 can be fit into 5 1 times, resulting in a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 3 from 5 to get 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 3

Advancing to step 2:
3 goes into 20 6 times with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 16.0
Deduct 18 from 20 and we're left with 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 3

Moving on to step 3:
The number 3 fits into 26 8 times, leaving a remainder of 2.
The next digit of our result is 8. 
Result so far: 168.0
Subtracting 24 from 26 leaves us with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 3

Going ahead to step 4:
When dividing 28 by 3, we get 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 1689.0
If we subtract 27 from 28, we get 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 3

Advancing to step 5:
3 goes into 14 4 times with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 16894.0
Deduct 12 from 14 and we're left with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 3

Step 6:
3 goes into 28 9 times with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 168949.0
If we take 27 away from 28, we end up 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.

Step 7:
10 divided by 3 is 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 168949.3
Subtract 9 from 10 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
If we divide 10 by 3, we get 3 and a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 168949.33
Deduct 9 from 10 and we're left 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.

The final result is 168949.33 with a remainder of 0.001.