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

On to step 1:
5 divided by 31 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (5) from the dividend to 5 and continue with: 55 / 31

Step 2:
The number 31 fits into 55 1 times, leaving a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 31 from 55 and we're left with 24.
Append the next digit (0) from the dividend to 24 and continue with: 240 / 31

Moving on to step 3:
The number 31 fits into 240 7 times, leaving a remainder of 23.
The next digit of our result is 7. 
Result so far: 17.0
The remainder is 23 after subtracting 217 from 240.
Take the next digit (4) from the dividend and append it to 23, then repeat: 234 / 31

Step 4:
31 can be fit into 234 7 times, resulting in a remainder of 17.
The next digit of our result is 7. 
Result so far: 177.0
Subtracting 217 from 234 leaves us with 17.
Include the next digit (9) from the dividend after 17, then repeat: 179 / 31

Moving on to step 5:
If we divide 179 by 31, we get 5 and a remainder of 24.
The next digit of our result is 5. 
Result so far: 1775.0
Deduct 155 from 179 and we're left with 24.
Append the next digit (2) from the dividend to 24 and continue with: 242 / 31

Moving on to step 6:
When dividing 242 by 31, we get 7 with a remainder of 25.
Write down 7 as next digit of the result. 
Result so far: 17757.0
If we subtract 217 from 242, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
If we divide 250 by 31, we get 8 and a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 17757.8
If we take 248 away from 250, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
The number 31 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 17757.8
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
If we divide 200 by 31, we get 6 and a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 17757.806
If we subtract 186 from 200, we get 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 10:
When dividing 140 by 31, we get 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 17757.8064
If we take 124 away from 140, we end up 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.

Step 11:
31 goes into 160 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 17757.80645
If we take 155 away from 160, we end up 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.

Going ahead to step 12:
31 goes into 50 1 times with a remainder of 19.
The next digit of our result is 1. 
Result so far: 17757.806451
Subtracting 31 from 50 leaves us 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.

Step 13:
If we divide 190 by 31, we get 6 and a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 17757.8064516
Subtracting 186 from 190 leaves us 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.

On to step 14:
If we divide 40 by 31, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 17757.80645161
Subtracting 31 from 40 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The final outcome is 17757.80645161, with a leftover of 9e-09.