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

Advancing to step 1:
31 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 31

Advancing to step 2:
If we divide 16 by 31, we get 0 and a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Fetch the next digit (5) from the dividend, attach it to 16 and continue: 165 / 31

Advancing to step 3:
31 goes into 165 5 times with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 155 from 165, we get 10.
Bring next digit (4) of the dividend behind the 10 and repeat the process: 104 / 31

Going ahead to step 4:
31 can be fit into 104 3 times, resulting in a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 53.0
The remainder is 11 after subtracting 93 from 104.
Bring next digit (2) of the dividend behind the 11 and repeat the process: 112 / 31

Step 5:
112 divided by 31 is 3 with a remainder of 19.
The number 3 becomes the next digit in our result. 
Result so far: 533.0
The remainder is 19 after subtracting 93 from 112.
Grab the next digit (6) from the dividend, add it to 19, then carry on: 196 / 31

Moving on to step 6:
When dividing 196 by 31, we get 6 with a remainder of 10.
The next digit of our result is 6. 
Result so far: 5336.0
If we take 186 away from 196, 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.

Going ahead to step 7:
100 divided by 31 is 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 5336.3
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 8:
31 can be fit into 70 2 times, resulting in a remainder of 8.
The next digit of our result is 2. 
Result so far: 5336.32
Subtracting 62 from 70 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
31 goes into 80 2 times with a remainder of 18.
The next digit of our result is 2. 
Result so far: 5336.322
Subtract 62 from 80 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final result is 5336.322 with a remainder of 0.0018.