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

Going ahead to step 1:
1 divided by 82 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 82

Let's proceed to step 2:
82 can be fit into 10 0 times, resulting in a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 10 after subtracting 0 from 10.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 82

Step 3:
107 divided by 82 is 1 with a remainder of 25.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 82 from 107 to get 25.
Take the next digit (0) from the dividend and append it to 25, then repeat: 250 / 82

Step 4:
The number 82 fits into 250 3 times, leaving a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we subtract 246 from 250, we get 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 82

Going ahead to step 5:
82 can be fit into 46 0 times, resulting in a remainder of 46.
Use 0 as the next digit of our solution. 
Result so far: 130.0
Subtract 0 from 46 to get 46.
Take the next digit (6) from the dividend and append it to 46, then repeat: 466 / 82

Advancing to step 6:
82 can be fit into 466 5 times, resulting in a remainder of 56.
Put 5 as the next digit of the answer. 
Result so far: 1305.0
Deduct 410 from 466 and we're left 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.

On to step 7:
82 can be fit into 560 6 times, resulting in a remainder of 68.
The number 6 becomes the next digit in our result. 
Result so far: 1305.6
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.

Step 8:
82 goes into 680 8 times with a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 1305.68
Subtract 656 from 680 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 9:
When dividing 240 by 82, we get 2 with a remainder of 76.
Write down 2 as next digit of the result. 
Result so far: 1305.682
Deduct 164 from 240 and we're left with 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 10:
When dividing 760 by 82, we get 9 with a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 1305.6829
If we take 738 away from 760, we end up 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.

On to step 11:
82 can be fit into 220 2 times, resulting in a remainder of 56.
Put 2 as the next digit of the answer. 
Result so far: 1305.68292
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.

On to step 12:
82 can be fit into 560 6 times, resulting in a remainder of 68.
Write down 6 as next digit of the result. 
Result so far: 1305.682926
If we subtract 492 from 560, we get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

On to step 13:
If we divide 680 by 82, we get 8 and a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 1305.6829268
If we subtract 656 from 680, we get 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 14:
82 goes into 240 2 times with a remainder of 76.
Record the quotient 2 as the next digit in the result. 
Result so far: 1305.68292682
If we subtract 164 from 240, we 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.

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