We're dividing 81799343 by 502 
The aim is to understand the frequency of 502 in 81799343.

Going ahead to step 1:
When dividing 8 by 502, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 502

Step 2:
502 goes into 81 0 times with a remainder of 81.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 81 to get 81.
Append the next digit (7) from the dividend to 81 and continue with: 817 / 502

Going ahead to step 3:
502 can be fit into 817 1 times, resulting in a remainder of 315.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 502 from 817 and we're left with 315.
Include the next digit (9) from the dividend after 315, then repeat: 3159 / 502

Advancing to step 4:
If we divide 3159 by 502, we get 6 and a remainder of 147.
The next digit of our result is 6. 
Result so far: 16.0
Deduct 3012 from 3159 and we're left with 147.
Take the next digit (9) from the dividend and append it to 147, then repeat: 1479 / 502

Going ahead to step 5:
The number 502 fits into 1479 2 times, leaving a remainder of 475.
The number 2 becomes the next digit in our result. 
Result so far: 162.0
Subtracting 1004 from 1479 leaves us with 475.
Bring next digit (3) of the dividend behind the 475 and repeat the process: 4753 / 502

Step 6:
4753 divided by 502 is 9 with a remainder of 235.
Record the quotient 9 as the next digit in the result. 
Result so far: 1629.0
Subtracting 4518 from 4753 leaves us with 235.
Append the next digit (4) from the dividend to 235 and continue with: 2354 / 502

Going ahead to step 7:
If we divide 2354 by 502, we get 4 and a remainder of 346.
Record the quotient 4 as the next digit in the result. 
Result so far: 16294.0
If we subtract 2008 from 2354, we get 346.
Append the next digit (3) from the dividend to 346 and continue with: 3463 / 502

Advancing to step 8:
502 goes into 3463 6 times with a remainder of 451.
Put 6 as the next digit of the answer. 
Result so far: 162946.0
Subtracting 3012 from 3463 leaves us with 451.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4510, and continue the process.

On to step 9:
502 goes into 4510 8 times with a remainder of 494.
The number 8 becomes the next digit in our result. 
Result so far: 162946.8
If we take 4016 away from 4510, we end up with 494.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4940, and continue the process.

Advancing to step 10:
502 can be fit into 4940 9 times, resulting in a remainder of 422.
The next digit of our result is 9. 
Result so far: 162946.89
If we subtract 4518 from 4940, we get 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Step 11:
502 can be fit into 4220 8 times, resulting in a remainder of 204.
The number 8 becomes the next digit in our result. 
Result so far: 162946.898
If we take 4016 away from 4220, we end up with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Moving on to step 12:
The number 502 fits into 2040 4 times, leaving a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 162946.8984
The remainder is 32 after subtracting 2008 from 2040.
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 13:
502 can be fit into 320 0 times, resulting in a remainder of 320.
The number 0 becomes the next digit in our result. 
Result so far: 162946.8984
If we take 0 away from 320, we end up with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Step 14:
When dividing 3200 by 502, we get 6 with a remainder of 188.
Use 6 as the next digit of our solution. 
Result so far: 162946.898406
If we subtract 3012 from 3200, we get 188.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

Moving on to step 15:
1880 divided by 502 is 3 with a remainder of 374.
Record the quotient 3 as the next digit in the result. 
Result so far: 162946.8984063
Subtract 1506 from 1880 to get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

On to step 16:
502 can be fit into 3740 7 times, resulting in a remainder of 226.
Record the quotient 7 as the next digit in the result. 
Result so far: 162946.89840637
Subtracting 3514 from 3740 leaves us with 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

After the division, we end up with 162946.89840637 and a remainder of 2.26e-07.