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

Advancing to step 1:
When dividing 5 by 31, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 31

Let's proceed to step 2:
When dividing 57 by 31, we get 1 with a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 31 from 57 to get 26.
Fetch the next digit (3) from the dividend, attach it to 26 and continue: 263 / 31

Moving on to step 3:
The number 31 fits into 263 8 times, leaving a remainder of 15.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
If we subtract 248 from 263, we get 15.
Append the next digit (5) from the dividend to 15 and continue with: 155 / 31

Going ahead to step 4:
155 divided by 31 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 185.0
If we subtract 155 from 155, we get 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 31

Advancing to step 5:
If we divide 0 by 31, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 1850.0
Subtracting 0 from 0 leaves us with 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 31

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

Advancing to step 7:
When dividing 0 by 31, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 18500.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
0 divided by 31 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 18500.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 18500.0 with a remainder of 0.0.