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

Moving on to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 31

Advancing to step 2:
If we divide 39 by 31, we get 1 and a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 31 from 39 leaves us with 8.
Take the next digit (0) from the dividend and append it to 8, then repeat: 80 / 31

On to step 3:
If we divide 80 by 31, we get 2 and a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we subtract 62 from 80, we get 18.
Grab the next digit (2) from the dividend, add it to 18, then carry on: 182 / 31

On to step 4:
31 can be fit into 182 5 times, resulting in a remainder of 27.
Record the quotient 5 as the next digit in the result. 
Result so far: 125.0
Deduct 155 from 182 and we're left with 27.
Take the next digit (1) from the dividend and append it to 27, then repeat: 271 / 31

Moving on to step 5:
271 divided by 31 is 8 with a remainder of 23.
Write down 8 as next digit of the result. 
Result so far: 1258.0
If we take 248 away from 271, we end up with 23.
Bring next digit (3) of the dividend behind the 23 and repeat the process: 233 / 31

Let's proceed to step 6:
If we divide 233 by 31, we get 7 and a remainder of 16.
The number 7 becomes the next digit in our result. 
Result so far: 12587.0
Subtract 217 from 233 to get 16.
Append the next digit (9) from the dividend to 16 and continue with: 169 / 31

Going ahead to step 7:
31 can be fit into 169 5 times, resulting in a remainder of 14.
Put 5 as the next digit of the answer. 
Result so far: 125875.0
Subtracting 155 from 169 leaves us with 14.
Include the next digit (6) from the dividend after 14, then repeat: 146 / 31

Let's proceed to step 8:
If we divide 146 by 31, we get 4 and a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 1258754.0
If we take 124 away from 146, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 9:
When dividing 220 by 31, we get 7 with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 1258754.7
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.

Step 10:
30 divided by 31 is 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 1258754.7
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 11:
31 goes into 300 9 times with a remainder of 21.
The next digit of our result is 9. 
Result so far: 1258754.709
The remainder is 21 after subtracting 279 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 12:
When dividing 210 by 31, we get 6 with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 1258754.7096
If we subtract 186 from 210, we 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.

Step 13:
31 goes into 240 7 times with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 1258754.70967
Subtracting 217 from 240 leaves us 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 14:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 1258754.709677
Subtracting 217 from 230 leaves us 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.

In conclusion, the division gives 1258754.709677 with a balance of 1.3e-06.