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

Advancing to step 1:
If we divide 5 by 82, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 82

Going ahead to step 2:
51 divided by 82 is 0 with a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Bring next digit (7) of the dividend behind the 51 and repeat the process: 517 / 82

Moving on to step 3:
If we divide 517 by 82, we get 6 and a remainder of 25.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Deduct 492 from 517 and we're left with 25.
Append the next digit (3) from the dividend to 25 and continue with: 253 / 82

On to step 4:
82 goes into 253 3 times with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 63.0
Deduct 246 from 253 and we're left with 7.
Include the next digit (4) from the dividend after 7, then repeat: 74 / 82

Moving on to step 5:
82 can be fit into 74 0 times, resulting in a remainder of 74.
Write down 0 as next digit of the result. 
Result so far: 630.0
Deduct 0 from 74 and we're left with 74.
Bring next digit (0) of the dividend behind the 74 and repeat the process: 740 / 82

Step 6:
If we divide 740 by 82, we get 9 and a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 6309.0
If we take 738 away from 740, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
82 can be fit into 20 0 times, resulting in a remainder of 20.
The next digit of our result is 0. 
Result so far: 6309.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
82 can be fit into 200 2 times, resulting in a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 6309.02
If we subtract 164 from 200, 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.

Moving on to step 9:
82 can be fit into 360 4 times, resulting in a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 6309.024
Subtract 328 from 360 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.

Step 10:
320 divided by 82 is 3 with a remainder of 74.
Use 3 as the next digit of our solution. 
Result so far: 6309.0243
Deduct 246 from 320 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Advancing to step 11:
The number 82 fits into 740 9 times, leaving a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 6309.02439
Deduct 738 from 740 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 12:
The number 82 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 6309.02439
If we subtract 0 from 20, we 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.

Step 13:
82 can be fit into 200 2 times, resulting in a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 6309.0243902
Deduct 164 from 200 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 14:
82 can be fit into 360 4 times, resulting in a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 6309.02439024
If we subtract 328 from 360, we 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.

The final result is 6309.02439024 with a remainder of 3.2e-08.