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

Let's proceed to step 1:
When dividing 4 by 31, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 31

Step 2:
When dividing 40 by 31, we get 1 with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 31 from 40 and we're left with 9.
Take the next digit (3) from the dividend and append it to 9, then repeat: 93 / 31

Advancing to step 3:
When dividing 93 by 31, we get 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Deduct 93 from 93 and we're left with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 31

Step 4:
31 goes into 8 0 times with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 130.0
If we take 0 away from 8, we end up with 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 31

Advancing to step 5:
The number 31 fits into 84 2 times, leaving a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 1302.0
The remainder is 22 after subtracting 62 from 84.
Grab the next digit (4) from the dividend, add it to 22, then carry on: 224 / 31

Let's proceed to step 6:
224 divided by 31 is 7 with a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 13027.0
If we take 217 away from 224, we end up 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.

Let's proceed to step 7:
31 goes into 70 2 times with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 13027.2
Deduct 62 from 70 and we're left 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.

Going ahead to step 8:
When dividing 80 by 31, we get 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 13027.22
Deduct 62 from 80 and we're left 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 13027.22 and a remainder of 0.018.