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

On to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 31

On to step 2:
36 divided by 31 is 1 with a remainder of 5.
The next digit of our result is 1. 
Result so far: 1.0
If we take 31 away from 36, we end up with 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 31

Going ahead to step 3:
31 can be fit into 54 1 times, resulting in a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 11.0
Deduct 31 from 54 and we're left with 23.
Take the next digit (5) from the dividend and append it to 23, then repeat: 235 / 31

On to step 4:
31 goes into 235 7 times with a remainder of 18.
Record the quotient 7 as the next digit in the result. 
Result so far: 117.0
Subtract 217 from 235 to get 18.
Take the next digit (9) from the dividend and append it to 18, then repeat: 189 / 31

Step 5:
The number 31 fits into 189 6 times, leaving a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 1176.0
If we take 186 away from 189, we end up with 3.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 31

Step 6:
32 divided by 31 is 1 with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 11761.0
If we subtract 31 from 32, we get 1.
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 7:
If we divide 10 by 31, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 11761.0
If we take 0 away from 10, we end up with 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 8:
31 goes into 100 3 times with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 11761.03
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 9:
31 goes into 70 2 times with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 11761.032
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
When dividing 80 by 31, we get 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 11761.0322
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 11761.0322 with a remaining 0.00018.