We divide 297172 by 39
The aim is to understand the frequency of 39 in 297172.

Step 1:
If we divide 2 by 39, we get 0 and a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 39

Going ahead to step 2:
The number 39 fits into 29 0 times, leaving a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 29 to get 29.
Append the next digit (7) from the dividend to 29 and continue with: 297 / 39

Moving on to step 3:
If we divide 297 by 39, we get 7 and a remainder of 24.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtracting 273 from 297 leaves us with 24.
Grab the next digit (1) from the dividend, add it to 24, then carry on: 241 / 39

Step 4:
When dividing 241 by 39, we get 6 with a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 76.0
Subtracting 234 from 241 leaves us with 7.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 39

Advancing to step 5:
39 can be fit into 77 1 times, resulting in a remainder of 38.
The next digit of our result is 1. 
Result so far: 761.0
The remainder is 38 after subtracting 39 from 77.
Grab the next digit (2) from the dividend, add it to 38, then carry on: 382 / 39

Going ahead to step 6:
39 can be fit into 382 9 times, resulting in a remainder of 31.
Record the quotient 9 as the next digit in the result. 
Result so far: 7619.0
If we subtract 351 from 382, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 7:
310 divided by 39 is 7 with a remainder of 37.
Use 7 as the next digit of our solution. 
Result so far: 7619.7
Deduct 273 from 310 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 8:
If we divide 370 by 39, we get 9 and a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 7619.79
Deduct 351 from 370 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 9:
If we divide 190 by 39, we get 4 and a remainder of 34.
Put 4 as the next digit of the answer. 
Result so far: 7619.794
Deduct 156 from 190 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 10:
340 divided by 39 is 8 with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 7619.7948
Deduct 312 from 340 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 11:
When dividing 280 by 39, we get 7 with a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 7619.79487
Subtracting 273 from 280 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.

Let's proceed to step 12:
If we divide 70 by 39, we get 1 and a remainder of 31.
Record the quotient 1 as the next digit in the result. 
Result so far: 7619.794871
The remainder is 31 after subtracting 39 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 13:
39 can be fit into 310 7 times, resulting in a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 7619.7948717
If we take 273 away from 310, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 14:
39 can be fit into 370 9 times, resulting in a remainder of 19.
The next digit of our result is 9. 
Result so far: 7619.79487179
The remainder is 19 after subtracting 351 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Our division results in 7619.79487179 with a remaining 1.9e-08.