We look at the division of 418714 by 82 
The aim is to understand the frequency of 82 in 418714.

Going ahead to step 1:
The number 82 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 82

Advancing to step 2:
If we divide 41 by 82, we get 0 and a remainder of 41.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 41 after subtracting 0 from 41.
Append the next digit (8) from the dividend to 41 and continue with: 418 / 82

Step 3:
If we divide 418 by 82, we get 5 and a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 410 away from 418, we end up with 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 82

Advancing to step 4:
The number 82 fits into 87 1 times, leaving a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 51.0
If we take 82 away from 87, we end up with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 82

Going ahead to step 5:
If we divide 51 by 82, we get 0 and a remainder of 51.
The number 0 becomes the next digit in our result. 
Result so far: 510.0
If we subtract 0 from 51, we get 51.
Take the next digit (4) from the dividend and append it to 51, then repeat: 514 / 82

Going ahead to step 6:
When dividing 514 by 82, we get 6 with a remainder of 22.
Use 6 as the next digit of our solution. 
Result so far: 5106.0
If we take 492 away from 514, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 7:
The number 82 fits into 220 2 times, leaving a remainder of 56.
Use 2 as the next digit of our solution. 
Result so far: 5106.2
Deduct 164 from 220 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 8:
82 can be fit into 560 6 times, resulting in a remainder of 68.
Use 6 as the next digit of our solution. 
Result so far: 5106.26
Deduct 492 from 560 and we're left with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Going ahead to step 9:
The number 82 fits into 680 8 times, leaving a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 5106.268
Subtract 656 from 680 to get 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 10:
82 goes into 240 2 times with a remainder of 76.
The next digit of our result is 2. 
Result so far: 5106.2682
Subtracting 164 from 240 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.

Step 11:
The number 82 fits into 760 9 times, leaving a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 5106.26829
Subtract 738 from 760 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 12:
220 divided by 82 is 2 with a remainder of 56.
Write down 2 as next digit of the result. 
Result so far: 5106.268292
Deduct 164 from 220 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 13:
82 goes into 560 6 times with a remainder of 68.
The number 6 becomes the next digit in our result. 
Result so far: 5106.2682926
Subtract 492 from 560 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.

Moving on to step 14:
When dividing 680 by 82, we get 8 with a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 5106.26829268
If we subtract 656 from 680, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final outcome is 5106.26829268, with a leftover of 2.4e-08.