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

Moving on to step 1:
When dividing 5 by 84, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 84

Moving on to step 2:
The number 84 fits into 51 0 times, leaving a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 51 leaves us with 51.
Fetch the next digit (4) from the dividend, attach it to 51 and continue: 514 / 84

Moving on to step 3:
When dividing 514 by 84, we get 6 with a remainder of 10.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we subtract 504 from 514, we get 10.
Take the next digit (5) from the dividend and append it to 10, then repeat: 105 / 84

Moving on to step 4:
The number 84 fits into 105 1 times, leaving a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 61.0
If we subtract 84 from 105, we get 21.
Fetch the next digit (1) from the dividend, attach it to 21 and continue: 211 / 84

Moving on to step 5:
211 divided by 84 is 2 with a remainder of 43.
The next digit of our result is 2. 
Result so far: 612.0
Deduct 168 from 211 and we're left with 43.
Bring next digit (5) of the dividend behind the 43 and repeat the process: 435 / 84

On to step 6:
The number 84 fits into 435 5 times, leaving a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 6125.0
Subtracting 420 from 435 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 7:
The number 84 fits into 150 1 times, leaving a remainder of 66.
Put 1 as the next digit of the answer. 
Result so far: 6125.1
The remainder is 66 after subtracting 84 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Moving on to step 8:
84 can be fit into 660 7 times, resulting in a remainder of 72.
The next digit of our result is 7. 
Result so far: 6125.17
If we subtract 588 from 660, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 9:
If we divide 720 by 84, we get 8 and a remainder of 48.
Record the quotient 8 as the next digit in the result. 
Result so far: 6125.178
If we take 672 away from 720, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 10:
84 goes into 480 5 times with a remainder of 60.
Use 5 as the next digit of our solution. 
Result so far: 6125.1785
Deduct 420 from 480 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 11:
The number 84 fits into 600 7 times, leaving a remainder of 12.
The next digit of our result is 7. 
Result so far: 6125.17857
Deduct 588 from 600 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 12:
120 divided by 84 is 1 with a remainder of 36.
Use 1 as the next digit of our solution. 
Result so far: 6125.178571
If we subtract 84 from 120, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 13:
360 divided by 84 is 4 with a remainder of 24.
The number 4 becomes the next digit in our result. 
Result so far: 6125.1785714
If we take 336 away from 360, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 14:
84 can be fit into 240 2 times, resulting in a remainder of 72.
The next digit of our result is 2. 
Result so far: 6125.17857142
Subtract 168 from 240 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

The final outcome is 6125.17857142, with a leftover of 7.2e-08.