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

On to step 1:
The number 31 fits into 4 0 times, leaving 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.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 31

On to step 2:
When dividing 45 by 31, we get 1 with a remainder of 14.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 31 from 45 and we're left with 14.
Include the next digit (6) from the dividend after 14, then repeat: 146 / 31

Going ahead to step 3:
The number 31 fits into 146 4 times, leaving a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 14.0
If we subtract 124 from 146, we get 22.
Grab the next digit (2) from the dividend, add it to 22, then carry on: 222 / 31

Step 4:
If we divide 222 by 31, we get 7 and a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 147.0
Deduct 217 from 222 and we're left with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 31

On to step 5:
55 divided by 31 is 1 with a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 1471.0
Subtract 31 from 55 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 6:
When dividing 240 by 31, we get 7 with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 1471.7
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 7:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 1471.77
Deduct 217 from 230 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 1471.77 and a remainder of 0.013.