564991 divided by 3 
The aim is to understand the frequency of 3 in 564991.

Let's proceed to step 1:
If we divide 5 by 3, we get 1 and a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 2 after subtracting 3 from 5.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 3

Advancing to step 2:
The number 3 fits into 26 8 times, leaving a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 18.0
The remainder is 2 after subtracting 24 from 26.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 3

Advancing to step 3:
3 goes into 24 8 times with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 188.0
If we take 24 away from 24, we end up with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 3

On to step 4:
3 can be fit into 9 3 times, resulting in a remainder of 0.
The next digit of our result is 3. 
Result so far: 1883.0
If we subtract 9 from 9, we get 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 3

Moving on to step 5:
9 divided by 3 is 3 with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 18833.0
The remainder is 0 after subtracting 9 from 9.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 3

Going ahead to step 6:
If we divide 1 by 3, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 188330.0
The remainder is 1 after subtracting 0 from 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
3 can be fit into 10 3 times, resulting in a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 188330.3
If we subtract 9 from 10, we 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.

Step 8:
10 divided by 3 is 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 188330.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.

After the division, we end up with 188330.33 and a remainder of 0.001.