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

Step 1:
31 goes into 1 0 times with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 31

Step 2:
31 can be fit into 15 0 times, resulting in a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 31

Step 3:
When dividing 157 by 31, we get 5 with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 2 after subtracting 155 from 157.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 31

Advancing to step 4:
When dividing 24 by 31, we get 0 with a remainder of 24.
Use 0 as the next digit of our solution. 
Result so far: 50.0
Subtracting 0 from 24 leaves us with 24.
Bring next digit (4) of the dividend behind the 24 and repeat the process: 244 / 31

Advancing to step 5:
31 goes into 244 7 times with a remainder of 27.
The number 7 becomes the next digit in our result. 
Result so far: 507.0
Deduct 217 from 244 and we're left with 27.
Grab the next digit (5) from the dividend, add it to 27, then carry on: 275 / 31

On to step 6:
If we divide 275 by 31, we get 8 and a remainder of 27.
Use 8 as the next digit of our solution. 
Result so far: 5078.0
Subtract 248 from 275 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 7:
If we divide 270 by 31, we get 8 and a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 5078.8
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 8:
When dividing 220 by 31, we get 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 5078.87
Deduct 217 from 220 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 9:
31 can be fit into 30 0 times, resulting in a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 5078.87
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 10:
The number 31 fits into 300 9 times, leaving a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 5078.8709
Subtracting 279 from 300 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 11:
When dividing 210 by 31, we get 6 with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 5078.87096
Deduct 186 from 210 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 12:
31 can be fit into 240 7 times, resulting in a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 5078.870967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 13:
If we divide 230 by 31, we get 7 and a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 5078.8709677
Subtract 217 from 230 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 5078.8709677, with a leftover of 1.3e-07.