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

Moving on to step 1:
The number 82 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 82

Going ahead to step 2:
If we divide 56 by 82, we get 0 and a remainder of 56.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 56, we end up with 56.
Append the next digit (3) from the dividend to 56 and continue with: 563 / 82

Step 3:
82 goes into 563 6 times with a remainder of 71.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtract 492 from 563 to get 71.
Fetch the next digit (9) from the dividend, attach it to 71 and continue: 719 / 82

Going ahead to step 4:
82 can be fit into 719 8 times, resulting in a remainder of 63.
The next digit of our result is 8. 
Result so far: 68.0
If we subtract 656 from 719, we get 63.
Append the next digit (9) from the dividend to 63 and continue with: 639 / 82

Let's proceed to step 5:
82 can be fit into 639 7 times, resulting in a remainder of 65.
Use 7 as the next digit of our solution. 
Result so far: 687.0
Deduct 574 from 639 and we're left with 65.
Take the next digit (8) from the dividend and append it to 65, then repeat: 658 / 82

Let's proceed to step 6:
658 divided by 82 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 6878.0
Deduct 656 from 658 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.

On to step 7:
The number 82 fits into 20 0 times, leaving a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 6878.0
Deduct 0 from 20 and we're left 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.

Step 8:
200 divided by 82 is 2 with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 6878.02
Subtracting 164 from 200 leaves us 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.

Moving on to step 9:
82 can be fit into 360 4 times, resulting in a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 6878.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.

Let's proceed to step 10:
If we divide 320 by 82, we get 3 and a remainder of 74.
The next digit of our result is 3. 
Result so far: 6878.0243
The remainder is 74 after subtracting 246 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Going ahead to step 11:
The number 82 fits into 740 9 times, leaving a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 6878.02439
Subtract 738 from 740 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 12:
20 divided by 82 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 6878.02439
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.

Step 13:
82 can be fit into 200 2 times, resulting in a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 6878.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.

On to step 14:
The number 82 fits into 360 4 times, leaving a remainder of 32.
The next digit of our result is 4. 
Result so far: 6878.02439024
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.

The final outcome is 6878.02439024, with a leftover of 3.2e-08.