We divide 125 by 31
The aim is to understand the frequency of 31 in 125.

Going ahead to step 1:
31 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 31

Let's proceed to step 2:
The number 31 fits into 12 0 times, leaving a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 12 after subtracting 0 from 12.
Bring next digit (5) of the dividend behind the 12 and repeat the process: 125 / 31

Step 3:
When dividing 125 by 31, we get 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we take 124 away from 125, we end up 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 4:
When dividing 10 by 31, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 4.0
Subtract 0 from 10 to get 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 5:
When dividing 100 by 31, we get 3 with a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 4.03
Subtracting 93 from 100 leaves us 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.

Step 6:
31 goes into 70 2 times with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 4.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.

Going ahead to step 7:
The number 31 fits into 80 2 times, leaving a remainder of 18.
The next digit of our result is 2. 
Result so far: 4.0322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

In conclusion, the division gives 4.0322 with a balance of 0.00018.