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

On to step 1:
If we divide 7 by 3, we get 2 and a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 6 away from 7, we end up with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 3

Moving on to step 2:
3 can be fit into 18 6 times, resulting in a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 26.0
If we subtract 18 from 18, we get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 3

On to step 3:
3 can be fit into 7 2 times, resulting in a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 262.0
Subtracting 6 from 7 leaves us with 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 3

Step 4:
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: 2623.0
If we take 9 away from 10, we end up with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 3

Going ahead to step 5:
If we divide 16 by 3, we get 5 and a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 26235.0
Subtracting 15 from 16 leaves us with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 3

On to step 6:
When dividing 16 by 3, we get 5 with a remainder of 1.
The next digit of our result is 5. 
Result so far: 262355.0
If we subtract 15 from 16, 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.

On to step 7:
3 can be fit into 10 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 262355.3
Subtracting 9 from 10 leaves us 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.

Let's proceed to step 8:
10 divided by 3 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 262355.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.

In conclusion, the division gives 262355.33 with a balance of 0.001.