We look at the division of 861042 by 3 
The aim is to understand the frequency of 3 in 861042.

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

On to step 2:
If we divide 26 by 3, we get 8 and a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 28.0
The remainder is 2 after subtracting 24 from 26.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 3

Step 3:
21 divided by 3 is 7 with a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 287.0
If we take 21 away from 21, we end up with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 3

Going ahead to step 4:
The number 3 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 2870.0
Deduct 0 from 0 and we're left with 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 3

Let's proceed to step 5:
4 divided by 3 is 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 28701.0
If we take 3 away from 4, we end up with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 3

Let's proceed to step 6:
If we divide 12 by 3, we get 4 and a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 287014.0
If we subtract 12 from 12, we 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.

Let's proceed to step 7:
If we divide 0 by 3, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 287014.0
Subtracting 0 from 0 leaves us 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.

Moving on to step 8:
When dividing 0 by 3, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 287014.0
Subtract 0 from 0 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.

In conclusion, the division gives 287014.0 with a balance of 0.0.