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

On to step 1:
82 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (2) from the dividend, add it to 8, then carry on: 82 / 82

On to step 2:
82 can be fit into 82 1 times, resulting in a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 82 from 82 and we're left with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 82

Moving on to step 3:
The number 82 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 10.0
If we subtract 0 from 8, we get 8.
Take the next digit (3) from the dividend and append it to 8, then repeat: 83 / 82

Let's proceed to step 4:
If we divide 83 by 82, we get 1 and a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 101.0
If we subtract 82 from 83, we get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 82

Going ahead to step 5:
The number 82 fits into 16 0 times, leaving a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 1010.0
The remainder is 16 after subtracting 0 from 16.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 82

On to step 6:
167 divided by 82 is 2 with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 10102.0
Deduct 164 from 167 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
When dividing 30 by 82, we get 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 10102.0
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
300 divided by 82 is 3 with a remainder of 54.
The next digit of our result is 3. 
Result so far: 10102.03
Deduct 246 from 300 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Going ahead to step 9:
The number 82 fits into 540 6 times, leaving a remainder of 48.
The next digit of our result is 6. 
Result so far: 10102.036
Subtract 492 from 540 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 10:
82 goes into 480 5 times with a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 10102.0365
Subtract 410 from 480 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 11:
When dividing 700 by 82, we get 8 with a remainder of 44.
Record the quotient 8 as the next digit in the result. 
Result so far: 10102.03658
If we take 656 away from 700, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 12:
82 goes into 440 5 times with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 10102.036585
Deduct 410 from 440 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 13:
When dividing 300 by 82, we get 3 with a remainder of 54.
Record the quotient 3 as the next digit in the result. 
Result so far: 10102.0365853
If we take 246 away from 300, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Advancing to step 14:
540 divided by 82 is 6 with a remainder of 48.
Use 6 as the next digit of our solution. 
Result so far: 10102.03658536
If we take 492 away from 540, 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.

After the division, we end up with 10102.03658536 and a remainder of 4.8e-08.