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

On to step 1:
If we divide 6 by 31, we get 0 and a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Include the next digit (1) from the dividend after 6, then repeat: 61 / 31

Moving on to step 2:
When dividing 61 by 31, we get 1 with a remainder of 30.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 31 away from 61, we end up with 30.
Grab the next digit (4) from the dividend, add it to 30, then carry on: 304 / 31

Advancing to step 3:
The number 31 fits into 304 9 times, leaving a remainder of 25.
Put 9 as the next digit of the answer. 
Result so far: 19.0
Deduct 279 from 304 and we're left with 25.
Bring next digit (2) of the dividend behind the 25 and repeat the process: 252 / 31

On to step 4:
31 goes into 252 8 times with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 198.0
Deduct 248 from 252 and we're left with 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 31

Moving on to step 5:
When dividing 49 by 31, we get 1 with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 1981.0
If we subtract 31 from 49, we get 18.
Fetch the next digit (4) from the dividend, attach it to 18 and continue: 184 / 31

Advancing to step 6:
31 goes into 184 5 times with a remainder of 29.
Record the quotient 5 as the next digit in the result. 
Result so far: 19815.0
Subtracting 155 from 184 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 7:
31 can be fit into 290 9 times, resulting in a remainder of 11.
The next digit of our result is 9. 
Result so far: 19815.9
Deduct 279 from 290 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 8:
The number 31 fits into 110 3 times, leaving a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 19815.93
The remainder is 17 after subtracting 93 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 9:
31 goes into 170 5 times with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 19815.935
If we subtract 155 from 170, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 10:
When dividing 150 by 31, we get 4 with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 19815.9354
If we subtract 124 from 150, we get 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 11:
260 divided by 31 is 8 with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 19815.93548
The remainder is 12 after subtracting 248 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 12:
The number 31 fits into 120 3 times, leaving a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 19815.935483
Subtract 93 from 120 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 13:
If we divide 270 by 31, we get 8 and a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 19815.9354838
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 14:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 19815.93548387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

After the division, we end up with 19815.93548387 and a remainder of 3e-09.