Let's divide 177941 by 31
The aim is to understand the frequency of 31 in 177941.

Going ahead to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 31

Moving on to step 2:
The number 31 fits into 17 0 times, leaving a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 17 to get 17.
Take the next digit (7) from the dividend and append it to 17, then repeat: 177 / 31

Let's proceed to step 3:
177 divided by 31 is 5 with a remainder of 22.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtracting 155 from 177 leaves us with 22.
Include the next digit (9) from the dividend after 22, then repeat: 229 / 31

On to step 4:
31 goes into 229 7 times with a remainder of 12.
Put 7 as the next digit of the answer. 
Result so far: 57.0
The remainder is 12 after subtracting 217 from 229.
Include the next digit (4) from the dividend after 12, then repeat: 124 / 31

Moving on to step 5:
When dividing 124 by 31, we get 4 with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 574.0
If we subtract 124 from 124, we get 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 31

Let's proceed to step 6:
31 goes into 1 0 times with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 5740.0
If we subtract 0 from 1, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
The number 31 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 5740.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
100 divided by 31 is 3 with a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 5740.03
The remainder is 7 after subtracting 93 from 100.
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:
The number 31 fits into 70 2 times, leaving a remainder of 8.
The next digit of our result is 2. 
Result so far: 5740.032
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 10:
31 goes into 80 2 times with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 5740.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 result is 5740.0322 with a remainder of 0.00018.