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

On to step 1:
If we divide 4 by 82, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 82

Step 2:
82 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Include the next digit (7) from the dividend after 40, then repeat: 407 / 82

Advancing to step 3:
When dividing 407 by 82, we get 4 with a remainder of 79.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 79 after subtracting 328 from 407.
Take the next digit (9) from the dividend and append it to 79, then repeat: 799 / 82

Going ahead to step 4:
When dividing 799 by 82, we get 9 with a remainder of 61.
The number 9 becomes the next digit in our result. 
Result so far: 49.0
If we take 738 away from 799, we end up with 61.
Fetch the next digit (4) from the dividend, attach it to 61 and continue: 614 / 82

Let's proceed to step 5:
When dividing 614 by 82, we get 7 with a remainder of 40.
Use 7 as the next digit of our solution. 
Result so far: 497.0
Deduct 574 from 614 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 6:
The number 82 fits into 400 4 times, leaving a remainder of 72.
Use 4 as the next digit of our solution. 
Result so far: 497.4
Deduct 328 from 400 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.

Going ahead to step 7:
82 goes into 720 8 times with a remainder of 64.
Write down 8 as next digit of the result. 
Result so far: 497.48
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.

Let's proceed to step 8:
82 goes into 640 7 times with a remainder of 66.
Write down 7 as next digit of the result. 
Result so far: 497.487
Subtracting 574 from 640 leaves us with 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 9:
If we divide 660 by 82, we get 8 and a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 497.4878
The remainder is 4 after subtracting 656 from 660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 10:
82 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 497.4878
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 11:
If we divide 400 by 82, we get 4 and a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 497.487804
Subtracting 328 from 400 leaves us 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.

Step 12:
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: 497.4878048
Subtracting 656 from 720 leaves us with 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:
If we divide 640 by 82, we get 7 and a remainder of 66.
Record the quotient 7 as the next digit in the result. 
Result so far: 497.48780487
If we subtract 574 from 640, we 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.

Our division results in 497.48780487 with a remaining 6.6e-08.