Let's divide 12279324 by 389
The aim is to understand the frequency of 389 in 12279324.

Step 1:
The number 389 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 389

On to step 2:
389 can be fit into 12 0 times, resulting in a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Take the next digit (2) from the dividend and append it to 12, then repeat: 122 / 389

Going ahead to step 3:
If we divide 122 by 389, we get 0 and a remainder of 122.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 122, we get 122.
Take the next digit (7) from the dividend and append it to 122, then repeat: 1227 / 389

Going ahead to step 4:
389 can be fit into 1227 3 times, resulting in a remainder of 60.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
The remainder is 60 after subtracting 1167 from 1227.
Grab the next digit (9) from the dividend, add it to 60, then carry on: 609 / 389

Step 5:
If we divide 609 by 389, we get 1 and a remainder of 220.
The next digit of our result is 1. 
Result so far: 31.0
Subtracting 389 from 609 leaves us with 220.
Grab the next digit (3) from the dividend, add it to 220, then carry on: 2203 / 389

On to step 6:
389 can be fit into 2203 5 times, resulting in a remainder of 258.
Use 5 as the next digit of our solution. 
Result so far: 315.0
Subtract 1945 from 2203 to get 258.
Include the next digit (2) from the dividend after 258, then repeat: 2582 / 389

Moving on to step 7:
389 can be fit into 2582 6 times, resulting in a remainder of 248.
Put 6 as the next digit of the answer. 
Result so far: 3156.0
Deduct 2334 from 2582 and we're left with 248.
Include the next digit (4) from the dividend after 248, then repeat: 2484 / 389

Step 8:
2484 divided by 389 is 6 with a remainder of 150.
Write down 6 as next digit of the result. 
Result so far: 31566.0
The remainder is 150 after subtracting 2334 from 2484.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Advancing to step 9:
When dividing 1500 by 389, we get 3 with a remainder of 333.
Record the quotient 3 as the next digit in the result. 
Result so far: 31566.3
If we subtract 1167 from 1500, we get 333.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3330, and continue the process.

Let's proceed to step 10:
If we divide 3330 by 389, we get 8 and a remainder of 218.
Write down 8 as next digit of the result. 
Result so far: 31566.38
Subtracting 3112 from 3330 leaves us with 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Going ahead to step 11:
The number 389 fits into 2180 5 times, leaving a remainder of 235.
Put 5 as the next digit of the answer. 
Result so far: 31566.385
The remainder is 235 after subtracting 1945 from 2180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

On to step 12:
When dividing 2350 by 389, we get 6 with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 31566.3856
If we subtract 2334 from 2350, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 13:
If we divide 160 by 389, we get 0 and a remainder of 160.
The number 0 becomes the next digit in our result. 
Result so far: 31566.3856
If we take 0 away from 160, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Moving on to step 14:
The number 389 fits into 1600 4 times, leaving a remainder of 44.
The next digit of our result is 4. 
Result so far: 31566.385604
If we take 1556 away from 1600, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 15:
When dividing 440 by 389, we get 1 with a remainder of 51.
Write down 1 as next digit of the result. 
Result so far: 31566.3856041
If we subtract 389 from 440, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

On to step 16:
389 goes into 510 1 times with a remainder of 121.
The next digit of our result is 1. 
Result so far: 31566.38560411
If we take 389 away from 510, we end up with 121.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1210, and continue the process.

In conclusion, the division gives 31566.38560411 with a balance of 1.21e-07.