We look at the division of 31549847 by 993 
The aim is to understand the frequency of 993 in 31549847.

Advancing to step 1:
The number 993 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 993

Advancing to step 2:
993 goes into 31 0 times with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Bring next digit (5) of the dividend behind the 31 and repeat the process: 315 / 993

Let's proceed to step 3:
993 goes into 315 0 times with a remainder of 315.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 315, we get 315.
Include the next digit (4) from the dividend after 315, then repeat: 3154 / 993

On to step 4:
993 goes into 3154 3 times with a remainder of 175.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 2979 away from 3154, we end up with 175.
Take the next digit (9) from the dividend and append it to 175, then repeat: 1759 / 993

Moving on to step 5:
If we divide 1759 by 993, we get 1 and a remainder of 766.
The next digit of our result is 1. 
Result so far: 31.0
Deduct 993 from 1759 and we're left with 766.
Include the next digit (8) from the dividend after 766, then repeat: 7668 / 993

Advancing to step 6:
If we divide 7668 by 993, we get 7 and a remainder of 717.
The next digit of our result is 7. 
Result so far: 317.0
If we subtract 6951 from 7668, we get 717.
Take the next digit (4) from the dividend and append it to 717, then repeat: 7174 / 993

Going ahead to step 7:
If we divide 7174 by 993, we get 7 and a remainder of 223.
Write down 7 as next digit of the result. 
Result so far: 3177.0
If we take 6951 away from 7174, we end up with 223.
Take the next digit (7) from the dividend and append it to 223, then repeat: 2237 / 993

Moving on to step 8:
When dividing 2237 by 993, we get 2 with a remainder of 251.
Write down 2 as next digit of the result. 
Result so far: 31772.0
Subtract 1986 from 2237 to get 251.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2510, and continue the process.

On to step 9:
993 can be fit into 2510 2 times, resulting in a remainder of 524.
Use 2 as the next digit of our solution. 
Result so far: 31772.2
Deduct 1986 from 2510 and we're left with 524.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5240, and continue the process.

Step 10:
When dividing 5240 by 993, we get 5 with a remainder of 275.
Write down 5 as next digit of the result. 
Result so far: 31772.25
If we subtract 4965 from 5240, we get 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2750, and continue the process.

Advancing to step 11:
993 goes into 2750 2 times with a remainder of 764.
Record the quotient 2 as the next digit in the result. 
Result so far: 31772.252
Deduct 1986 from 2750 and we're left with 764.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7640, and continue the process.

Advancing to step 12:
7640 divided by 993 is 7 with a remainder of 689.
The number 7 becomes the next digit in our result. 
Result so far: 31772.2527
The remainder is 689 after subtracting 6951 from 7640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6890, and continue the process.

Let's proceed to step 13:
993 goes into 6890 6 times with a remainder of 932.
The number 6 becomes the next digit in our result. 
Result so far: 31772.25276
Subtracting 5958 from 6890 leaves us with 932.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9320, and continue the process.

Moving on to step 14:
993 can be fit into 9320 9 times, resulting in a remainder of 383.
Use 9 as the next digit of our solution. 
Result so far: 31772.252769
Deduct 8937 from 9320 and we're left with 383.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3830, and continue the process.

On to step 15:
3830 divided by 993 is 3 with a remainder of 851.
The number 3 becomes the next digit in our result. 
Result so far: 31772.2527693
Subtracting 2979 from 3830 leaves us with 851.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8510, and continue the process.

Step 16:
The number 993 fits into 8510 8 times, leaving a remainder of 566.
The next digit of our result is 8. 
Result so far: 31772.25276938
If we take 7944 away from 8510, we end up with 566.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5660, and continue the process.

The final result is 31772.25276938 with a remainder of 5.66e-07.