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

On to step 1:
82 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 82

Advancing to step 2:
82 goes into 54 0 times with a remainder of 54.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 54 and we're left with 54.
Grab the next digit (0) from the dividend, add it to 54, then carry on: 540 / 82

Let's proceed to step 3:
82 goes into 540 6 times with a remainder of 48.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we subtract 492 from 540, we get 48.
Take the next digit (3) from the dividend and append it to 48, then repeat: 483 / 82

Moving on to step 4:
82 can be fit into 483 5 times, resulting in a remainder of 73.
Write down 5 as next digit of the result. 
Result so far: 65.0
The remainder is 73 after subtracting 410 from 483.
Take the next digit (1) from the dividend and append it to 73, then repeat: 731 / 82

Advancing to step 5:
731 divided by 82 is 8 with a remainder of 75.
Put 8 as the next digit of the answer. 
Result so far: 658.0
If we subtract 656 from 731, we get 75.
Bring next digit (5) of the dividend behind the 75 and repeat the process: 755 / 82

Advancing to step 6:
The number 82 fits into 755 9 times, leaving a remainder of 17.
The number 9 becomes the next digit in our result. 
Result so far: 6589.0
If we take 738 away from 755, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 7:
When dividing 170 by 82, we get 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 6589.2
If we take 164 away from 170, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 8:
60 divided by 82 is 0 with a remainder of 60.
The next digit of our result is 0. 
Result so far: 6589.2
Subtract 0 from 60 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 9:
If we divide 600 by 82, we get 7 and a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 6589.207
Deduct 574 from 600 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 10:
The number 82 fits into 260 3 times, leaving a remainder of 14.
The number 3 becomes the next digit in our result. 
Result so far: 6589.2073
Deduct 246 from 260 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 11:
82 goes into 140 1 times with a remainder of 58.
The number 1 becomes the next digit in our result. 
Result so far: 6589.20731
If we take 82 away from 140, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Step 12:
580 divided by 82 is 7 with a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 6589.207317
Deduct 574 from 580 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 13:
82 goes into 60 0 times with a remainder of 60.
The next digit of our result is 0. 
Result so far: 6589.207317
If we subtract 0 from 60, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 14:
82 can be fit into 600 7 times, resulting in a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 6589.20731707
Subtracting 574 from 600 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final result is 6589.20731707 with a remainder of 2.6e-08.