We're dividing 108231 by 82 
The aim is to understand the frequency of 82 in 108231.

On to step 1:
1 divided by 82 is 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 82

On to step 2:
If we divide 10 by 82, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 10 leaves us with 10.
Bring next digit (8) of the dividend behind the 10 and repeat the process: 108 / 82

Step 3:
When dividing 108 by 82, we get 1 with a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 82 away from 108, we end up with 26.
Fetch the next digit (2) from the dividend, attach it to 26 and continue: 262 / 82

Step 4:
The number 82 fits into 262 3 times, leaving a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 13.0
The remainder is 16 after subtracting 246 from 262.
Append the next digit (3) from the dividend to 16 and continue with: 163 / 82

Moving on to step 5:
The number 82 fits into 163 1 times, leaving a remainder of 81.
Write down 1 as next digit of the result. 
Result so far: 131.0
The remainder is 81 after subtracting 82 from 163.
Take the next digit (1) from the dividend and append it to 81, then repeat: 811 / 82

Advancing to step 6:
811 divided by 82 is 9 with a remainder of 73.
Use 9 as the next digit of our solution. 
Result so far: 1319.0
Deduct 738 from 811 and we're left with 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Let's proceed to step 7:
82 goes into 730 8 times with a remainder of 74.
The next digit of our result is 8. 
Result so far: 1319.8
Deduct 656 from 730 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Advancing to step 8:
The number 82 fits into 740 9 times, leaving a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 1319.89
If we take 738 away from 740, we end up 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.

Advancing to step 9:
When dividing 20 by 82, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 1319.89
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.

On to step 10:
When dividing 200 by 82, we get 2 with a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 1319.8902
If we take 164 away from 200, we end up 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 11:
82 goes into 360 4 times with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 1319.89024
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 12:
82 goes into 320 3 times with a remainder of 74.
Write down 3 as next digit of the result. 
Result so far: 1319.890243
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.

Let's proceed to step 13:
The number 82 fits into 740 9 times, leaving a remainder of 2.
The next digit of our result is 9. 
Result so far: 1319.8902439
The remainder is 2 after subtracting 738 from 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 14:
If we divide 20 by 82, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 1319.8902439
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.

The quotient of the division is 1319.8902439, and the remainder is 2e-08.