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

Let's proceed to step 1:
31 can be fit into 9 0 times, resulting in a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Take the next digit (6) from the dividend and append it to 9, then repeat: 96 / 31

Going ahead to step 2:
31 can be fit into 96 3 times, resulting in a remainder of 3.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 93 from 96 to get 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 31

On to step 3:
When dividing 30 by 31, we get 0 with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 30.0
If we subtract 0 from 30, we get 30.
Append the next digit (2) from the dividend to 30 and continue with: 302 / 31

On to step 4:
If we divide 302 by 31, we get 9 and a remainder of 23.
The number 9 becomes the next digit in our result. 
Result so far: 309.0
If we subtract 279 from 302, we get 23.
Append the next digit (5) from the dividend to 23 and continue with: 235 / 31

Let's proceed to step 5:
When dividing 235 by 31, we get 7 with a remainder of 18.
Record the quotient 7 as the next digit in the result. 
Result so far: 3097.0
Deduct 217 from 235 and we're left with 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 31

Let's proceed to step 6:
31 can be fit into 187 6 times, resulting in a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 30976.0
If we subtract 186 from 187, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
31 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 30976.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
100 divided by 31 is 3 with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 30976.03
Deduct 93 from 100 and we're left with 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 9:
When dividing 70 by 31, we get 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 30976.032
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 10:
The number 31 fits into 80 2 times, leaving a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 30976.0322
If we take 62 away from 80, we end up 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 30976.0322 and a remainder of 0.00018.