We divide 40109 by 82
The aim is to understand the frequency of 82 in 40109.

On to step 1:
When dividing 4 by 82, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 82

Going ahead to step 2:
When dividing 40 by 82, we get 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (1) from the dividend, attach it to 40 and continue: 401 / 82

Step 3:
When dividing 401 by 82, we get 4 with a remainder of 73.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 328 from 401 and we're left with 73.
Fetch the next digit (0) from the dividend, attach it to 73 and continue: 730 / 82

Step 4:
If we divide 730 by 82, we get 8 and a remainder of 74.
Use 8 as the next digit of our solution. 
Result so far: 48.0
Deduct 656 from 730 and we're left with 74.
Grab the next digit (9) from the dividend, add it to 74, then carry on: 749 / 82

Step 5:
82 goes into 749 9 times with a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 489.0
Subtracting 738 from 749 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 6:
The number 82 fits into 110 1 times, leaving a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 489.1
If we take 82 away from 110, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 7:
82 can be fit into 280 3 times, resulting in a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 489.13
Subtracting 246 from 280 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 8:
If we divide 340 by 82, we get 4 and a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 489.134
If we subtract 328 from 340, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
82 can be fit into 120 1 times, resulting in a remainder of 38.
The next digit of our result is 1. 
Result so far: 489.1341
Deduct 82 from 120 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 10:
When dividing 380 by 82, we get 4 with a remainder of 52.
The next digit of our result is 4. 
Result so far: 489.13414
Subtracting 328 from 380 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 11:
82 can be fit into 520 6 times, resulting in a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 489.134146
Subtract 492 from 520 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 12:
When dividing 280 by 82, we get 3 with a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 489.1341463
Deduct 246 from 280 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 13:
The number 82 fits into 340 4 times, leaving a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 489.13414634
Deduct 328 from 340 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

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