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

On to step 1:
2 divided by 82 is 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 82

Moving on to step 2:
The number 82 fits into 23 0 times, leaving a remainder of 23.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 23 leaves us with 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 82

Moving on to step 3:
When dividing 231 by 82, we get 2 with a remainder of 67.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 164 from 231 leaves us with 67.
Fetch the next digit (3) from the dividend, attach it to 67 and continue: 673 / 82

Moving on to step 4:
82 goes into 673 8 times with a remainder of 17.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
Subtract 656 from 673 to get 17.
Include the next digit (1) from the dividend after 17, then repeat: 171 / 82

On to step 5:
171 divided by 82 is 2 with a remainder of 7.
The number 2 becomes the next digit in our result. 
Result so far: 282.0
The remainder is 7 after subtracting 164 from 171.
Bring next digit (2) of the dividend behind the 7 and repeat the process: 72 / 82

Moving on to step 6:
If we divide 72 by 82, we get 0 and a remainder of 72.
Put 0 as the next digit of the answer. 
Result so far: 2820.0
Deduct 0 from 72 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 7:
The number 82 fits into 720 8 times, leaving a remainder of 64.
Put 8 as the next digit of the answer. 
Result so far: 2820.8
Subtract 656 from 720 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 8:
640 divided by 82 is 7 with a remainder of 66.
Put 7 as the next digit of the answer. 
Result so far: 2820.87
Subtract 574 from 640 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

On to step 9:
When dividing 660 by 82, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 2820.878
If we take 656 away from 660, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 10:
82 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 2820.878
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 11:
82 goes into 400 4 times with a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 2820.87804
The remainder is 72 after subtracting 328 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 12:
When dividing 720 by 82, we get 8 with a remainder of 64.
The next digit of our result is 8. 
Result so far: 2820.878048
If we subtract 656 from 720, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 13:
The number 82 fits into 640 7 times, leaving a remainder of 66.
Write down 7 as next digit of the result. 
Result so far: 2820.8780487
Subtract 574 from 640 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 14:
If we divide 660 by 82, we get 8 and a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 2820.87804878
Deduct 656 from 660 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 2820.87804878 with a remaining 4e-09.