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

On to step 1:
1 divided by 82 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 82

Moving on to step 2:
16 divided by 82 is 0 with a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Append the next digit (7) from the dividend to 16 and continue with: 167 / 82

Let's proceed to step 3:
The number 82 fits into 167 2 times, leaving a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 3 after subtracting 164 from 167.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 82

Going ahead to step 4:
When dividing 32 by 82, we get 0 with a remainder of 32.
Put 0 as the next digit of the answer. 
Result so far: 20.0
If we take 0 away from 32, we end up with 32.
Bring next digit (5) of the dividend behind the 32 and repeat the process: 325 / 82

Step 5:
When dividing 325 by 82, we get 3 with a remainder of 79.
The next digit of our result is 3. 
Result so far: 203.0
If we subtract 246 from 325, we get 79.
Grab the next digit (6) from the dividend, add it to 79, then carry on: 796 / 82

On to step 6:
If we divide 796 by 82, we get 9 and a remainder of 58.
The next digit of our result is 9. 
Result so far: 2039.0
If we take 738 away from 796, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Going ahead to step 7:
When dividing 580 by 82, we get 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 2039.7
If we subtract 574 from 580, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
82 can be fit into 60 0 times, resulting in a remainder of 60.
Use 0 as the next digit of our solution. 
Result so far: 2039.7
If we subtract 0 from 60, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Let's proceed to step 9:
82 can be fit into 600 7 times, resulting in a remainder of 26.
The next digit of our result is 7. 
Result so far: 2039.707
Deduct 574 from 600 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 10:
82 goes into 260 3 times with a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 2039.7073
Subtract 246 from 260 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 11:
82 can be fit into 140 1 times, resulting in a remainder of 58.
Use 1 as the next digit of our solution. 
Result so far: 2039.70731
Deduct 82 from 140 and we're left with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 12:
580 divided by 82 is 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 2039.707317
Deduct 574 from 580 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
82 can be fit into 60 0 times, resulting in a remainder of 60.
The next digit of our result is 0. 
Result so far: 2039.707317
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 14:
When dividing 600 by 82, we get 7 with a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 2039.70731707
Deduct 574 from 600 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final result is 2039.70731707 with a remainder of 2.6e-08.