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

Let's proceed to step 1:
3 can be fit into 9 3 times, resulting in a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 9 from 9 leaves us with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 3

Step 2:
The number 3 fits into 8 2 times, leaving a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 32.0
Subtract 6 from 8 to get 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 3

Going ahead to step 3:
27 divided by 3 is 9 with a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 329.0
If we take 27 away from 27, we end up with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 3

Let's proceed to step 4:
3 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 3290.0
Subtract 0 from 0 to get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 3

Going ahead to step 5:
3 can be fit into 7 2 times, resulting in a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 32902.0
The remainder is 1 after subtracting 6 from 7.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 3

Step 6:
3 goes into 16 5 times with a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 329025.0
Subtract 15 from 16 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.

Step 7:
When dividing 10 by 3, we get 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 329025.3
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.

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

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