We're dividing 31504 by 84 
The aim is to understand the frequency of 84 in 31504.

Moving on to step 1:
3 divided by 84 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 84

Let's proceed to step 2:
When dividing 31 by 84, we get 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Include the next digit (5) from the dividend after 31, then repeat: 315 / 84

Step 3:
If we divide 315 by 84, we get 3 and a remainder of 63.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 252 from 315, we get 63.
Fetch the next digit (0) from the dividend, attach it to 63 and continue: 630 / 84

Advancing to step 4:
84 can be fit into 630 7 times, resulting in a remainder of 42.
The number 7 becomes the next digit in our result. 
Result so far: 37.0
The remainder is 42 after subtracting 588 from 630.
Bring next digit (4) of the dividend behind the 42 and repeat the process: 424 / 84

Going ahead to step 5:
The number 84 fits into 424 5 times, leaving a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 375.0
Subtracting 420 from 424 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 6:
When dividing 40 by 84, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 375.0
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 7:
84 goes into 400 4 times with a remainder of 64.
Write down 4 as next digit of the result. 
Result so far: 375.04
Subtracting 336 from 400 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 8:
When dividing 640 by 84, we get 7 with a remainder of 52.
Use 7 as the next digit of our solution. 
Result so far: 375.047
The remainder is 52 after subtracting 588 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 9:
520 divided by 84 is 6 with a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 375.0476
The remainder is 16 after subtracting 504 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 10:
84 can be fit into 160 1 times, resulting in a remainder of 76.
The next digit of our result is 1. 
Result so far: 375.04761
If we subtract 84 from 160, we get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

On to step 11:
The number 84 fits into 760 9 times, leaving a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 375.047619
The remainder is 4 after subtracting 756 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
If we divide 40 by 84, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 375.047619
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 13:
If we divide 400 by 84, we get 4 and a remainder of 64.
Put 4 as the next digit of the answer. 
Result so far: 375.04761904
Subtracting 336 from 400 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

After the division, we end up with 375.04761904 and a remainder of 6.4e-08.