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

Going ahead to step 1:
82 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 82

Let's proceed to step 2:
When dividing 87 by 82, we get 1 with a remainder of 5.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 82 from 87 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 82

On to step 3:
50 divided by 82 is 0 with a remainder of 50.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 50 after subtracting 0 from 50.
Include the next digit (0) from the dividend after 50, then repeat: 500 / 82

On to step 4:
When dividing 500 by 82, we get 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 106.0
Subtracting 492 from 500 leaves us with 8.
Grab the next digit (1) from the dividend, add it to 8, then carry on: 81 / 82

On to step 5:
81 divided by 82 is 0 with a remainder of 81.
Use 0 as the next digit of our solution. 
Result so far: 1060.0
The remainder is 81 after subtracting 0 from 81.
Bring next digit (2) of the dividend behind the 81 and repeat the process: 812 / 82

Moving on to step 6:
82 goes into 812 9 times with a remainder of 74.
The number 9 becomes the next digit in our result. 
Result so far: 10609.0
Deduct 738 from 812 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Going ahead to step 7:
82 can be fit into 740 9 times, resulting in a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 10609.9
If we subtract 738 from 740, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
The number 82 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 10609.9
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
When dividing 200 by 82, we get 2 with a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 10609.902
Subtract 164 from 200 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 10:
The number 82 fits into 360 4 times, leaving a remainder of 32.
The next digit of our result is 4. 
Result so far: 10609.9024
Deduct 328 from 360 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 11:
When dividing 320 by 82, we get 3 with a remainder of 74.
Record the quotient 3 as the next digit in the result. 
Result so far: 10609.90243
Subtract 246 from 320 to get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Advancing to step 12:
The number 82 fits into 740 9 times, leaving a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 10609.902439
If we take 738 away from 740, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 13:
If we divide 20 by 82, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 10609.902439
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 14:
The number 82 fits into 200 2 times, leaving a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 10609.90243902
If we subtract 164 from 200, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

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