Let's divide 815142 by 82
The aim is to understand the frequency of 82 in 815142.

Let's proceed to step 1:
When dividing 8 by 82, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 82

Advancing to step 2:
The number 82 fits into 81 0 times, leaving a remainder of 81.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 81 and we're left with 81.
Grab the next digit (5) from the dividend, add it to 81, then carry on: 815 / 82

Advancing to step 3:
If we divide 815 by 82, we get 9 and a remainder of 77.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
The remainder is 77 after subtracting 738 from 815.
Grab the next digit (1) from the dividend, add it to 77, then carry on: 771 / 82

Going ahead to step 4:
82 goes into 771 9 times with a remainder of 33.
The next digit of our result is 9. 
Result so far: 99.0
Subtracting 738 from 771 leaves us with 33.
Grab the next digit (4) from the dividend, add it to 33, then carry on: 334 / 82

Moving on to step 5:
82 can be fit into 334 4 times, resulting in a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 994.0
If we take 328 away from 334, we end up with 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 82

Moving on to step 6:
82 can be fit into 62 0 times, resulting in a remainder of 62.
Put 0 as the next digit of the answer. 
Result so far: 9940.0
The remainder is 62 after subtracting 0 from 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Advancing to step 7:
82 can be fit into 620 7 times, resulting in a remainder of 46.
Use 7 as the next digit of our solution. 
Result so far: 9940.7
Deduct 574 from 620 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 8:
82 goes into 460 5 times with a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 9940.75
Subtract 410 from 460 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 9:
The number 82 fits into 500 6 times, leaving a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 9940.756
Deduct 492 from 500 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
If we divide 80 by 82, we get 0 and a remainder of 80.
Put 0 as the next digit of the answer. 
Result so far: 9940.756
The remainder is 80 after subtracting 0 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 11:
When dividing 800 by 82, we get 9 with a remainder of 62.
The number 9 becomes the next digit in our result. 
Result so far: 9940.75609
Subtract 738 from 800 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Advancing to step 12:
620 divided by 82 is 7 with a remainder of 46.
The next digit of our result is 7. 
Result so far: 9940.756097
Subtract 574 from 620 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 13:
82 can be fit into 460 5 times, resulting in a remainder of 50.
Put 5 as the next digit of the answer. 
Result so far: 9940.7560975
If we subtract 410 from 460, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 14:
82 goes into 500 6 times with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 9940.75609756
Subtracting 492 from 500 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 9940.75609756, with a leftover of 8e-09.