We look at the division of 369236 by 31 
The aim is to understand the frequency of 31 in 369236.

Moving on to step 1:
The number 31 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 31

Advancing to step 2:
36 divided by 31 is 1 with a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 31 from 36 leaves us with 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 31

Moving on to step 3:
31 goes into 59 1 times with a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we subtract 31 from 59, we get 28.
Append the next digit (2) from the dividend to 28 and continue with: 282 / 31

Let's proceed to step 4:
31 can be fit into 282 9 times, resulting in a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 119.0
If we subtract 279 from 282, we get 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 31

Step 5:
The number 31 fits into 33 1 times, leaving a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1191.0
If we take 31 away from 33, we end up with 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 31

On to step 6:
If we divide 26 by 31, we get 0 and a remainder of 26.
The next digit of our result is 0. 
Result so far: 11910.0
If we subtract 0 from 26, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 7:
When dividing 260 by 31, we get 8 with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 11910.8
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.

Moving on to step 8:
120 divided by 31 is 3 with a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 11910.83
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 9:
31 goes into 270 8 times with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 11910.838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 10:
If we divide 220 by 31, we get 7 and a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 11910.8387
If we take 217 away from 220, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 11:
31 can be fit into 30 0 times, resulting in a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 11910.8387
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.

Step 12:
When dividing 300 by 31, we get 9 with a remainder of 21.
The next digit of our result is 9. 
Result so far: 11910.838709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 13:
If we divide 210 by 31, we get 6 and a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 11910.8387096
Subtracting 186 from 210 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 14:
31 goes into 240 7 times with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 11910.83870967
Subtracting 217 from 240 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

The final result is 11910.83870967 with a remainder of 2.3e-08.