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

Going ahead to step 1:
If we divide 4 by 31, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 31

Let's proceed to step 2:
The number 31 fits into 49 1 times, leaving a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 18 after subtracting 31 from 49.
Take the next digit (8) from the dividend and append it to 18, then repeat: 188 / 31

On to step 3:
The number 31 fits into 188 6 times, leaving a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 16.0
If we subtract 186 from 188, we get 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 31

Going ahead to step 4:
20 divided by 31 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 160.0
Subtracting 0 from 20 leaves us with 20.
Append the next digit (6) from the dividend to 20 and continue with: 206 / 31

Let's proceed to step 5:
31 can be fit into 206 6 times, resulting in a remainder of 20.
The next digit of our result is 6. 
Result so far: 1606.0
If we take 186 away from 206, we end up with 20.
Take the next digit (7) from the dividend and append it to 20, then repeat: 207 / 31

Advancing to step 6:
31 goes into 207 6 times with a remainder of 21.
Record the quotient 6 as the next digit in the result. 
Result so far: 16066.0
The remainder is 21 after subtracting 186 from 207.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 7:
If we divide 210 by 31, we get 6 and a remainder of 24.
The next digit of our result is 6. 
Result so far: 16066.6
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 8:
If we divide 240 by 31, we get 7 and a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 16066.67
Subtract 217 from 240 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 9:
The number 31 fits into 230 7 times, leaving a remainder of 13.
The next digit of our result is 7. 
Result so far: 16066.677
Subtracting 217 from 230 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final result is 16066.677 with a remainder of 0.0013.