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

Going ahead to step 1:
The number 82 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 82

On to step 2:
If we divide 31 by 82, we get 0 and a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (5) from the dividend, add it to 31, then carry on: 315 / 82

Moving on to step 3:
If we divide 315 by 82, we get 3 and a remainder of 69.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Deduct 246 from 315 and we're left with 69.
Bring next digit (8) of the dividend behind the 69 and repeat the process: 698 / 82

Advancing to step 4:
When dividing 698 by 82, we get 8 with a remainder of 42.
Use 8 as the next digit of our solution. 
Result so far: 38.0
Subtracting 656 from 698 leaves us with 42.
Fetch the next digit (6) from the dividend, attach it to 42 and continue: 426 / 82

Going ahead to step 5:
82 goes into 426 5 times with a remainder of 16.
Write down 5 as next digit of the result. 
Result so far: 385.0
The remainder is 16 after subtracting 410 from 426.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 82

Advancing to step 6:
When dividing 165 by 82, we get 2 with a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 3852.0
Deduct 164 from 165 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
10 divided by 82 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 3852.0
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
82 can be fit into 100 1 times, resulting in a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 3852.01
If we subtract 82 from 100, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 9:
The number 82 fits into 180 2 times, leaving a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 3852.012
If we subtract 164 from 180, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
82 can be fit into 160 1 times, resulting in a remainder of 78.
Record the quotient 1 as the next digit in the result. 
Result so far: 3852.0121
If we take 82 away from 160, we end up with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Advancing to step 11:
If we divide 780 by 82, we get 9 and a remainder of 42.
The number 9 becomes the next digit in our result. 
Result so far: 3852.01219
Subtracting 738 from 780 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 12:
If we divide 420 by 82, we get 5 and a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 3852.012195
If we take 410 away from 420, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 13:
100 divided by 82 is 1 with a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 3852.0121951
If we subtract 82 from 100, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 14:
82 can be fit into 180 2 times, resulting in a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 3852.01219512
If we take 164 away from 180, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

In conclusion, the division gives 3852.01219512 with a balance of 1.6e-08.