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

Advancing to step 1:
31 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 31

Going ahead to step 2:
The number 31 fits into 86 2 times, leaving a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 62 from 86 to get 24.
Take the next digit (0) from the dividend and append it to 24, then repeat: 240 / 31

Advancing to step 3:
The number 31 fits into 240 7 times, leaving a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 27.0
The remainder is 23 after subtracting 217 from 240.
Fetch the next digit (5) from the dividend, attach it to 23 and continue: 235 / 31

Going ahead to step 4:
When dividing 235 by 31, we get 7 with a remainder of 18.
The next digit of our result is 7. 
Result so far: 277.0
The remainder is 18 after subtracting 217 from 235.
Bring next digit (7) of the dividend behind the 18 and repeat the process: 187 / 31

Let's proceed to step 5:
31 goes into 187 6 times with a remainder of 1.
The next digit of our result is 6. 
Result so far: 2776.0
Subtract 186 from 187 to get 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 31

Let's proceed to step 6:
31 can be fit into 15 0 times, resulting in a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 27760.0
Subtracting 0 from 15 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 7:
When dividing 150 by 31, we get 4 with a remainder of 26.
The next digit of our result is 4. 
Result so far: 27760.4
Deduct 124 from 150 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 8:
260 divided by 31 is 8 with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 27760.48
Subtracting 248 from 260 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
31 goes into 120 3 times with a remainder of 27.
The next digit of our result is 3. 
Result so far: 27760.483
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 10:
When dividing 270 by 31, we get 8 with a remainder of 22.
The next digit of our result is 8. 
Result so far: 27760.4838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 11:
The number 31 fits into 220 7 times, leaving a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 27760.48387
Deduct 217 from 220 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 12:
When dividing 30 by 31, we get 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 27760.48387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 13:
The number 31 fits into 300 9 times, leaving a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 27760.4838709
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 14:
When dividing 210 by 31, we get 6 with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 27760.48387096
Subtracting 186 from 210 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

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