We're dividing 993193 by 31 
The aim is to understand the frequency of 31 in 993193.

Going ahead to step 1:
31 can be fit into 9 0 times, resulting in a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 31

Advancing to step 2:
31 goes into 99 3 times with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 6 after subtracting 93 from 99.
Take the next digit (3) from the dividend and append it to 6, then repeat: 63 / 31

On to step 3:
63 divided by 31 is 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 32.0
Deduct 62 from 63 and we're left with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 31

Advancing to step 4:
When dividing 11 by 31, we get 0 with a remainder of 11.
The next digit of our result is 0. 
Result so far: 320.0
The remainder is 11 after subtracting 0 from 11.
Include the next digit (9) from the dividend after 11, then repeat: 119 / 31

Going ahead to step 5:
119 divided by 31 is 3 with a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 3203.0
If we take 93 away from 119, we end up with 26.
Append the next digit (3) from the dividend to 26 and continue with: 263 / 31

Advancing to step 6:
263 divided by 31 is 8 with a remainder of 15.
Put 8 as the next digit of the answer. 
Result so far: 32038.0
If we take 248 away from 263, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
If we divide 150 by 31, we get 4 and a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 32038.4
The remainder is 26 after subtracting 124 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 8:
31 goes into 260 8 times with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 32038.48
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 9:
120 divided by 31 is 3 with a remainder of 27.
The next digit of our result is 3. 
Result so far: 32038.483
Deduct 93 from 120 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 10:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 32038.4838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
When dividing 220 by 31, we get 7 with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 32038.48387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 12:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 32038.48387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 13:
300 divided by 31 is 9 with a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 32038.4838709
The remainder is 21 after subtracting 279 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 14:
31 can be fit into 210 6 times, resulting in a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 32038.48387096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

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