358498 divided by 31 
The aim is to understand the frequency of 31 in 358498.

Moving on to step 1:
If we divide 3 by 31, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 31

On to step 2:
31 can be fit into 35 1 times, resulting in a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 31 from 35, we get 4.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 31

Advancing to step 3:
If we divide 48 by 31, we get 1 and a remainder of 17.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtracting 31 from 48 leaves us with 17.
Bring next digit (4) of the dividend behind the 17 and repeat the process: 174 / 31

Let's proceed to step 4:
If we divide 174 by 31, we get 5 and a remainder of 19.
The next digit of our result is 5. 
Result so far: 115.0
Subtracting 155 from 174 leaves us with 19.
Grab the next digit (9) from the dividend, add it to 19, then carry on: 199 / 31

Advancing to step 5:
31 can be fit into 199 6 times, resulting in a remainder of 13.
Use 6 as the next digit of our solution. 
Result so far: 1156.0
The remainder is 13 after subtracting 186 from 199.
Grab the next digit (8) from the dividend, add it to 13, then carry on: 138 / 31

Let's proceed to step 6:
31 can be fit into 138 4 times, resulting in a remainder of 14.
The number 4 becomes the next digit in our result. 
Result so far: 11564.0
If we take 124 away from 138, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 7:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 11564.4
Deduct 124 from 140 and we're left with 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 8:
160 divided by 31 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 11564.45
Deduct 155 from 160 and we're left 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.

Moving on to step 9:
31 goes into 50 1 times with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 11564.451
If we take 31 away from 50, we end up 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.

Advancing to step 10:
190 divided by 31 is 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 11564.4516
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.

Step 11:
The number 31 fits into 40 1 times, leaving a remainder of 9.
The next digit of our result is 1. 
Result so far: 11564.45161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 12:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 11564.451612
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.

Let's proceed to step 13:
31 goes into 280 9 times with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 11564.4516129
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 14:
31 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 11564.4516129
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.

The final outcome is 11564.4516129, with a leftover of 1e-08.