We divide 238189 by 31
The aim is to understand the frequency of 31 in 238189.

Let's proceed to step 1:
The number 31 fits into 2 0 times, leaving a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 31

Advancing to step 2:
The number 31 fits into 23 0 times, leaving a remainder of 23.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 23 after subtracting 0 from 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 31

Moving on to step 3:
238 divided by 31 is 7 with a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we subtract 217 from 238, we get 21.
Bring next digit (1) of the dividend behind the 21 and repeat the process: 211 / 31

Let's proceed to step 4:
211 divided by 31 is 6 with a remainder of 25.
Put 6 as the next digit of the answer. 
Result so far: 76.0
Subtract 186 from 211 to get 25.
Bring next digit (8) of the dividend behind the 25 and repeat the process: 258 / 31

Step 5:
The number 31 fits into 258 8 times, leaving a remainder of 10.
The next digit of our result is 8. 
Result so far: 768.0
If we subtract 248 from 258, we get 10.
Fetch the next digit (9) from the dividend, attach it to 10 and continue: 109 / 31

Step 6:
If we divide 109 by 31, we get 3 and a remainder of 16.
Record the quotient 3 as the next digit in the result. 
Result so far: 7683.0
Subtract 93 from 109 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 7:
160 divided by 31 is 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 7683.5
If we take 155 away from 160, we end up 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.

Let's proceed to step 8:
31 goes into 50 1 times with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 7683.51
Subtracting 31 from 50 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 9:
When dividing 190 by 31, we get 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 7683.516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 10:
When dividing 40 by 31, we get 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 7683.5161
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 11:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The next digit of our result is 2. 
Result so far: 7683.51612
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 12:
When dividing 280 by 31, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 7683.516129
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 7683.516129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 14:
If we divide 100 by 31, we get 3 and a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 7683.51612903
Subtracting 93 from 100 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final outcome is 7683.51612903, with a leftover of 7e-09.