400543 divided by 84 
The aim is to understand the frequency of 84 in 400543.

On to step 1:
84 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 84

Let's proceed to step 2:
40 divided by 84 is 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 84

On to step 3:
The number 84 fits into 400 4 times, leaving a remainder of 64.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtract 336 from 400 to get 64.
Include the next digit (5) from the dividend after 64, then repeat: 645 / 84

On to step 4:
84 goes into 645 7 times with a remainder of 57.
Write down 7 as next digit of the result. 
Result so far: 47.0
Deduct 588 from 645 and we're left with 57.
Include the next digit (4) from the dividend after 57, then repeat: 574 / 84

Step 5:
574 divided by 84 is 6 with a remainder of 70.
Write down 6 as next digit of the result. 
Result so far: 476.0
If we take 504 away from 574, we end up with 70.
Take the next digit (3) from the dividend and append it to 70, then repeat: 703 / 84

On to step 6:
703 divided by 84 is 8 with a remainder of 31.
Record the quotient 8 as the next digit in the result. 
Result so far: 4768.0
Subtract 672 from 703 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 7:
310 divided by 84 is 3 with a remainder of 58.
The next digit of our result is 3. 
Result so far: 4768.3
If we take 252 away from 310, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Going ahead to step 8:
If we divide 580 by 84, we get 6 and a remainder of 76.
The number 6 becomes the next digit in our result. 
Result so far: 4768.36
Subtracting 504 from 580 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 9:
84 can be fit into 760 9 times, resulting in a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 4768.369
Subtract 756 from 760 to get 4.
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 10:
84 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 4768.369
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.

Going ahead to step 11:
When dividing 400 by 84, we get 4 with a remainder of 64.
Write down 4 as next digit of the result. 
Result so far: 4768.36904
Subtract 336 from 400 to get 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 12:
640 divided by 84 is 7 with a remainder of 52.
The next digit of our result is 7. 
Result so far: 4768.369047
Subtract 588 from 640 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 13:
The number 84 fits into 520 6 times, leaving a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 4768.3690476
If we take 504 away from 520, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 14:
160 divided by 84 is 1 with a remainder of 76.
Write down 1 as next digit of the result. 
Result so far: 4768.36904761
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.

The final outcome is 4768.36904761, with a leftover of 7.6e-08.