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

Step 1:
3 goes into 5 1 times with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 2 after subtracting 3 from 5.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 3

Step 2:
3 can be fit into 25 8 times, resulting in a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
Deduct 24 from 25 and we're left with 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 3

Moving on to step 3:
3 goes into 18 6 times with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 186.0
The remainder is 0 after subtracting 18 from 18.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 3

On to step 4:
7 divided by 3 is 2 with a remainder of 1.
The next digit of our result is 2. 
Result so far: 1862.0
Subtract 6 from 7 to get 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 3

Step 5:
13 divided by 3 is 4 with a remainder of 1.
The next digit of our result is 4. 
Result so far: 18624.0
If we subtract 12 from 13, we get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 3

On to step 6:
3 goes into 18 6 times with a remainder of 0.
The next digit of our result is 6. 
Result so far: 186246.0
Subtract 18 from 18 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
3 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 186246.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
3 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 186246.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 186246.0, and the remainder is 0.0.