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

Let's proceed to step 1:
When dividing 6 by 31, we get 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Grab the next digit (0) from the dividend, add it to 6, then carry on: 60 / 31

Going ahead to step 2:
When dividing 60 by 31, we get 1 with a remainder of 29.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 31 from 60, we get 29.
Include the next digit (3) from the dividend after 29, then repeat: 293 / 31

On to step 3:
31 goes into 293 9 times with a remainder of 14.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
If we take 279 away from 293, we end up with 14.
Append the next digit (4) from the dividend to 14 and continue with: 144 / 31

On to step 4:
144 divided by 31 is 4 with a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 194.0
Subtract 124 from 144 to get 20.
Append the next digit (9) from the dividend to 20 and continue with: 209 / 31

Let's proceed to step 5:
31 can be fit into 209 6 times, resulting in a remainder of 23.
Write down 6 as next digit of the result. 
Result so far: 1946.0
Subtracting 186 from 209 leaves us with 23.
Include the next digit (6) from the dividend after 23, then repeat: 236 / 31

Going ahead to step 6:
236 divided by 31 is 7 with a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 19467.0
If we subtract 217 from 236, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 7:
190 divided by 31 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 19467.6
If we take 186 away from 190, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 8:
31 goes into 40 1 times with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 19467.61
If we subtract 31 from 40, we 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.

On to step 9:
31 goes into 90 2 times with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 19467.612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 10:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 19467.6129
If we take 279 away from 280, we end up 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.

Advancing to step 11:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 19467.6129
Subtracting 0 from 10 leaves us 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.

Let's proceed to step 12:
31 can be fit into 100 3 times, resulting in a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 19467.612903
Subtract 93 from 100 to 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.

On to step 13:
31 goes into 70 2 times with a remainder of 8.
The next digit of our result is 2. 
Result so far: 19467.6129032
The remainder is 8 after subtracting 62 from 70.
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 14:
If we divide 80 by 31, we get 2 and a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 19467.61290322
Deduct 62 from 80 and we're left 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.

After the division, we end up with 19467.61290322 and a remainder of 1.8e-08.