We're dividing 894281 by 31 
The aim is to understand the frequency of 31 in 894281.

On to step 1:
When dividing 8 by 31, we get 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 31

Advancing to step 2:
89 divided by 31 is 2 with a remainder of 27.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 62 from 89 and we're left with 27.
Include the next digit (4) from the dividend after 27, then repeat: 274 / 31

Going ahead to step 3:
31 goes into 274 8 times with a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 28.0
Subtract 248 from 274 to get 26.
Take the next digit (2) from the dividend and append it to 26, then repeat: 262 / 31

Moving on to step 4:
If we divide 262 by 31, we get 8 and a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 288.0
Subtract 248 from 262 to get 14.
Grab the next digit (8) from the dividend, add it to 14, then carry on: 148 / 31

Step 5:
31 goes into 148 4 times with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 2884.0
Subtract 124 from 148 to get 24.
Take the next digit (1) from the dividend and append it to 24, then repeat: 241 / 31

On to step 6:
31 can be fit into 241 7 times, resulting in a remainder of 24.
The number 7 becomes the next digit in our result. 
Result so far: 28847.0
Subtracting 217 from 241 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.

Moving on to step 7:
31 can be fit into 240 7 times, resulting in a remainder of 23.
The next digit of our result is 7. 
Result so far: 28847.7
The remainder is 23 after subtracting 217 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 8:
If we divide 230 by 31, we get 7 and a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 28847.77
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Our division results in 28847.77 with a remaining 0.013.