We look at the division of 483917 by 31 
The aim is to understand the frequency of 31 in 483917.

Going ahead to step 1:
31 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 31

Step 2:
31 can be fit into 48 1 times, resulting in a remainder of 17.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 31 away from 48, we end up with 17.
Include the next digit (3) from the dividend after 17, then repeat: 173 / 31

Let's proceed to step 3:
If we divide 173 by 31, we get 5 and a remainder of 18.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Subtract 155 from 173 to get 18.
Grab the next digit (9) from the dividend, add it to 18, then carry on: 189 / 31

Let's proceed to step 4:
31 can be fit into 189 6 times, resulting in a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 156.0
Subtracting 186 from 189 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 31

On to step 5:
31 can be fit into 31 1 times, resulting in a remainder of 0.
The next digit of our result is 1. 
Result so far: 1561.0
If we subtract 31 from 31, we get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 31

Step 6:
7 divided by 31 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 15610.0
If we subtract 0 from 7, we 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 7:
31 goes into 70 2 times with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 15610.2
If we take 62 away from 70, we end up 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.

Moving on to step 8:
If we divide 80 by 31, we get 2 and a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 15610.22
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 quotient of the division is 15610.22, and the remainder is 0.018.