We look at the division of 331178 by 84 
The aim is to understand the frequency of 84 in 331178.

Advancing to step 1:
84 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 84

Step 2:
84 can be fit into 33 0 times, resulting in a remainder of 33.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 33, we end up with 33.
Take the next digit (1) from the dividend and append it to 33, then repeat: 331 / 84

Advancing to step 3:
331 divided by 84 is 3 with a remainder of 79.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtract 252 from 331 to get 79.
Grab the next digit (1) from the dividend, add it to 79, then carry on: 791 / 84

Step 4:
84 goes into 791 9 times with a remainder of 35.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
The remainder is 35 after subtracting 756 from 791.
Grab the next digit (7) from the dividend, add it to 35, then carry on: 357 / 84

On to step 5:
The number 84 fits into 357 4 times, leaving a remainder of 21.
Write down 4 as next digit of the result. 
Result so far: 394.0
The remainder is 21 after subtracting 336 from 357.
Bring next digit (8) of the dividend behind the 21 and repeat the process: 218 / 84

Going ahead to step 6:
When dividing 218 by 84, we get 2 with a remainder of 50.
Put 2 as the next digit of the answer. 
Result so far: 3942.0
Subtracting 168 from 218 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 7:
500 divided by 84 is 5 with a remainder of 80.
Write down 5 as next digit of the result. 
Result so far: 3942.5
Subtract 420 from 500 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 8:
800 divided by 84 is 9 with a remainder of 44.
Write down 9 as next digit of the result. 
Result so far: 3942.59
If we take 756 away from 800, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 9:
The number 84 fits into 440 5 times, leaving a remainder of 20.
The number 5 becomes the next digit in our result. 
Result so far: 3942.595
Subtract 420 from 440 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 10:
If we divide 200 by 84, we get 2 and a remainder of 32.
Use 2 as the next digit of our solution. 
Result so far: 3942.5952
Subtract 168 from 200 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 11:
The number 84 fits into 320 3 times, leaving a remainder of 68.
The next digit of our result is 3. 
Result so far: 3942.59523
Subtract 252 from 320 to get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Step 12:
When dividing 680 by 84, we get 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 3942.595238
Subtracting 672 from 680 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 13:
The number 84 fits into 80 0 times, leaving a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 3942.595238
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 14:
If we divide 800 by 84, we get 9 and a remainder of 44.
Use 9 as the next digit of our solution. 
Result so far: 3942.59523809
Subtracting 756 from 800 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

The final outcome is 3942.59523809, with a leftover of 4.4e-08.