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

Step 1:
31 can be fit into 9 0 times, resulting in a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Bring next digit (4) of the dividend behind the 9 and repeat the process: 94 / 31

Going ahead to step 2:
31 goes into 94 3 times with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 93 from 94 leaves us with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 31

Advancing to step 3:
The number 31 fits into 14 0 times, leaving a remainder of 14.
Use 0 as the next digit of our solution. 
Result so far: 30.0
Subtract 0 from 14 to get 14.
Grab the next digit (8) from the dividend, add it to 14, then carry on: 148 / 31

Moving on to step 4:
The number 31 fits into 148 4 times, leaving a remainder of 24.
The number 4 becomes the next digit in our result. 
Result so far: 304.0
The remainder is 24 after subtracting 124 from 148.
Fetch the next digit (5) from the dividend, attach it to 24 and continue: 245 / 31

Moving on to step 5:
The number 31 fits into 245 7 times, leaving a remainder of 28.
Record the quotient 7 as the next digit in the result. 
Result so far: 3047.0
If we subtract 217 from 245, we get 28.
Append the next digit (0) from the dividend to 28 and continue with: 280 / 31

On to step 6:
If we divide 280 by 31, we get 9 and a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 30479.0
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
31 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 30479.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
100 divided by 31 is 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 30479.03
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 9:
70 divided by 31 is 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 30479.032
Subtracting 62 from 70 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 10:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 30479.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.

The final outcome is 30479.0322, with a leftover of 0.00018.