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

On to step 1:
82 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 82

Going ahead to step 2:
If we divide 58 by 82, we get 0 and a remainder of 58.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Take the next digit (6) from the dividend and append it to 58, then repeat: 586 / 82

Step 3:
82 goes into 586 7 times with a remainder of 12.
The next digit of our result is 7. 
Result so far: 7.0
If we take 574 away from 586, we end up with 12.
Grab the next digit (4) from the dividend, add it to 12, then carry on: 124 / 82

Let's proceed to step 4:
124 divided by 82 is 1 with a remainder of 42.
Put 1 as the next digit of the answer. 
Result so far: 71.0
If we subtract 82 from 124, we get 42.
Grab the next digit (9) from the dividend, add it to 42, then carry on: 429 / 82

Step 5:
When dividing 429 by 82, we get 5 with a remainder of 19.
The number 5 becomes the next digit in our result. 
Result so far: 715.0
If we subtract 410 from 429, we get 19.
Fetch the next digit (9) from the dividend, attach it to 19 and continue: 199 / 82

Going ahead to step 6:
The number 82 fits into 199 2 times, leaving a remainder of 35.
Put 2 as the next digit of the answer. 
Result so far: 7152.0
If we subtract 164 from 199, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 7:
350 divided by 82 is 4 with a remainder of 22.
The next digit of our result is 4. 
Result so far: 7152.4
Deduct 328 from 350 and we're left 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.

Let's proceed to step 8:
The number 82 fits into 220 2 times, leaving a remainder of 56.
The number 2 becomes the next digit in our result. 
Result so far: 7152.42
Subtracting 164 from 220 leaves us 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 9:
560 divided by 82 is 6 with a remainder of 68.
Record the quotient 6 as the next digit in the result. 
Result so far: 7152.426
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.

Let's proceed to step 10:
If we divide 680 by 82, we get 8 and a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 7152.4268
If we take 656 away from 680, 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.

Advancing to step 11:
If we divide 240 by 82, we get 2 and a remainder of 76.
The number 2 becomes the next digit in our result. 
Result so far: 7152.42682
Subtract 164 from 240 to 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.

Going ahead to step 12:
When dividing 760 by 82, we get 9 with a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 7152.426829
Subtracting 738 from 760 leaves us 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.

Let's proceed to step 13:
82 can be fit into 220 2 times, resulting in a remainder of 56.
Record the quotient 2 as the next digit in the result. 
Result so far: 7152.4268292
Subtract 164 from 220 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 14:
82 goes into 560 6 times with a remainder of 68.
The number 6 becomes the next digit in our result. 
Result so far: 7152.42682926
If we take 492 away from 560, we end up 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.

The quotient of the division is 7152.42682926, and the remainder is 6.8e-08.