193938 divided by 31 
The aim is to understand the frequency of 31 in 193938.

Step 1:
The number 31 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 31

Moving on to step 2:
31 goes into 19 0 times with a remainder of 19.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 19 after subtracting 0 from 19.
Include the next digit (3) from the dividend after 19, then repeat: 193 / 31

Let's proceed to step 3:
193 divided by 31 is 6 with a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtract 186 from 193 to get 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 31

Step 4:
31 can be fit into 79 2 times, resulting in a remainder of 17.
The next digit of our result is 2. 
Result so far: 62.0
Deduct 62 from 79 and we're left with 17.
Append the next digit (3) from the dividend to 17 and continue with: 173 / 31

Let's proceed to step 5:
If we divide 173 by 31, we get 5 and a remainder of 18.
Use 5 as the next digit of our solution. 
Result so far: 625.0
If we subtract 155 from 173, we get 18.
Append the next digit (8) from the dividend to 18 and continue with: 188 / 31

Going ahead to step 6:
188 divided by 31 is 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 6256.0
Deduct 186 from 188 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.

Step 7:
20 divided by 31 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 6256.0
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.

Moving on to step 8:
The number 31 fits into 200 6 times, leaving a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 6256.06
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 9:
31 goes into 140 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 6256.064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
160 divided by 31 is 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 6256.0645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 11:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 6256.06451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 12:
When dividing 190 by 31, we get 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 6256.064516
If we take 186 away from 190, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 13:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 6256.0645161
The remainder is 9 after subtracting 31 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 14:
If we divide 90 by 31, we get 2 and a remainder of 28.
The next digit of our result is 2. 
Result so far: 6256.06451612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

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