139233 divided by 31 
The aim is to understand the frequency of 31 in 139233.

Step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 31

Step 2:
If we divide 13 by 31, we get 0 and a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 13 leaves us with 13.
Grab the next digit (9) from the dividend, add it to 13, then carry on: 139 / 31

Step 3:
When dividing 139 by 31, we get 4 with a remainder of 15.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we take 124 away from 139, we end up with 15.
Fetch the next digit (2) from the dividend, attach it to 15 and continue: 152 / 31

On to step 4:
31 can be fit into 152 4 times, resulting in a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 44.0
Subtract 124 from 152 to get 28.
Include the next digit (3) from the dividend after 28, then repeat: 283 / 31

Step 5:
The number 31 fits into 283 9 times, leaving a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 449.0
Subtract 279 from 283 to get 4.
Grab the next digit (3) from the dividend, add it to 4, then carry on: 43 / 31

On to step 6:
If we divide 43 by 31, we get 1 and a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 4491.0
If we subtract 31 from 43, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
31 can be fit into 120 3 times, resulting in a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 4491.3
Subtract 93 from 120 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.

Moving on to step 8:
When dividing 270 by 31, we get 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 4491.38
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.

Going ahead to step 9:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 4491.387
If we take 217 away from 220, we end up 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 10:
If we divide 30 by 31, we get 0 and a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 4491.387
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.

Step 11:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 4491.38709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 12:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 4491.387096
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 13:
If we divide 240 by 31, we get 7 and a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 4491.3870967
The remainder is 23 after subtracting 217 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 14:
31 can be fit into 230 7 times, resulting in a remainder of 13.
The next digit of our result is 7. 
Result so far: 4491.38709677
If we subtract 217 from 230, we 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 quotient of the division is 4491.38709677, and the remainder is 1.3e-08.