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

Step 1:
The number 82 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 82

Advancing to step 2:
If we divide 50 by 82, we get 0 and a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Append the next digit (7) from the dividend to 50 and continue with: 507 / 82

Let's proceed to step 3:
If we divide 507 by 82, we get 6 and a remainder of 15.
The next digit of our result is 6. 
Result so far: 6.0
If we take 492 away from 507, we end up with 15.
Include the next digit (9) from the dividend after 15, then repeat: 159 / 82

Let's proceed to step 4:
The number 82 fits into 159 1 times, leaving a remainder of 77.
Record the quotient 1 as the next digit in the result. 
Result so far: 61.0
Subtract 82 from 159 to get 77.
Take the next digit (8) from the dividend and append it to 77, then repeat: 778 / 82

On to step 5:
When dividing 778 by 82, we get 9 with a remainder of 40.
The number 9 becomes the next digit in our result. 
Result so far: 619.0
If we subtract 738 from 778, we get 40.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 82

Let's proceed to step 6:
82 can be fit into 401 4 times, resulting in a remainder of 73.
The number 4 becomes the next digit in our result. 
Result so far: 6194.0
Subtract 328 from 401 to get 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Advancing to step 7:
When dividing 730 by 82, we get 8 with a remainder of 74.
Write down 8 as next digit of the result. 
Result so far: 6194.8
Deduct 656 from 730 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.

Moving on to step 8:
740 divided by 82 is 9 with a remainder of 2.
The next digit of our result is 9. 
Result so far: 6194.89
Deduct 738 from 740 and we're left 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.

On to step 9:
When dividing 20 by 82, we get 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 6194.89
Deduct 0 from 20 and we're left 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 10:
When dividing 200 by 82, we get 2 with a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 6194.8902
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.

On to step 11:
82 can be fit into 360 4 times, resulting in a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 6194.89024
If we subtract 328 from 360, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 12:
When dividing 320 by 82, we get 3 with a remainder of 74.
Put 3 as the next digit of the answer. 
Result so far: 6194.890243
Deduct 246 from 320 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 13:
740 divided by 82 is 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 6194.8902439
The remainder is 2 after subtracting 738 from 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 14:
When dividing 20 by 82, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 6194.8902439
Deduct 0 from 20 and we're left 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.

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