We divide 522958 by 3
The aim is to understand the frequency of 3 in 522958.

Moving on to step 1:
When dividing 5 by 3, we get 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 2 after subtracting 3 from 5.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 3

Advancing to step 2:
3 can be fit into 22 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
If we take 21 away from 22, we end up with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 3

Going ahead to step 3:
The number 3 fits into 12 4 times, leaving a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 174.0
The remainder is 0 after subtracting 12 from 12.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 3

Step 4:
If we divide 9 by 3, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 1743.0
If we take 9 away from 9, we end up with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 3

Going ahead to step 5:
3 can be fit into 5 1 times, resulting in a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 17431.0
Subtract 3 from 5 to get 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 3

Moving on to step 6:
When dividing 28 by 3, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 174319.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:
When dividing 10 by 3, we get 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 174319.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.

Let's proceed to step 8:
If we divide 10 by 3, we get 3 and a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 174319.33
If we take 9 away from 10, 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.

The final result is 174319.33 with a remainder of 0.001.