Let's divide 3840379 by 331
The aim is to understand the frequency of 331 in 3840379.

Going ahead to step 1:
331 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 331

Let's proceed to step 2:
38 divided by 331 is 0 with a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 38, we get 38.
Include the next digit (4) from the dividend after 38, then repeat: 384 / 331

On to step 3:
The number 331 fits into 384 1 times, leaving a remainder of 53.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 331 from 384, we get 53.
Include the next digit (0) from the dividend after 53, then repeat: 530 / 331

Going ahead to step 4:
530 divided by 331 is 1 with a remainder of 199.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtracting 331 from 530 leaves us with 199.
Grab the next digit (3) from the dividend, add it to 199, then carry on: 1993 / 331

On to step 5:
1993 divided by 331 is 6 with a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 116.0
Subtract 1986 from 1993 to get 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 331

Let's proceed to step 6:
The number 331 fits into 77 0 times, leaving a remainder of 77.
The next digit of our result is 0. 
Result so far: 1160.0
Subtract 0 from 77 to get 77.
Append the next digit (9) from the dividend to 77 and continue with: 779 / 331

Advancing to step 7:
331 goes into 779 2 times with a remainder of 117.
The next digit of our result is 2. 
Result so far: 11602.0
Deduct 662 from 779 and we're left with 117.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1170, and continue the process.

On to step 8:
When dividing 1170 by 331, we get 3 with a remainder of 177.
The next digit of our result is 3. 
Result so far: 11602.3
If we take 993 away from 1170, we end up with 177.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1770, and continue the process.

Going ahead to step 9:
If we divide 1770 by 331, we get 5 and a remainder of 115.
Put 5 as the next digit of the answer. 
Result so far: 11602.35
If we take 1655 away from 1770, we end up with 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

On to step 10:
When dividing 1150 by 331, we get 3 with a remainder of 157.
The number 3 becomes the next digit in our result. 
Result so far: 11602.353
Deduct 993 from 1150 and we're left with 157.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1570, and continue the process.

Moving on to step 11:
331 goes into 1570 4 times with a remainder of 246.
The number 4 becomes the next digit in our result. 
Result so far: 11602.3534
The remainder is 246 after subtracting 1324 from 1570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Moving on to step 12:
If we divide 2460 by 331, we get 7 and a remainder of 143.
Use 7 as the next digit of our solution. 
Result so far: 11602.35347
The remainder is 143 after subtracting 2317 from 2460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1430, and continue the process.

Let's proceed to step 13:
When dividing 1430 by 331, we get 4 with a remainder of 106.
Put 4 as the next digit of the answer. 
Result so far: 11602.353474
Subtract 1324 from 1430 to get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Step 14:
When dividing 1060 by 331, we get 3 with a remainder of 67.
The number 3 becomes the next digit in our result. 
Result so far: 11602.3534743
Subtracting 993 from 1060 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Advancing to step 15:
If we divide 670 by 331, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 11602.35347432
If we take 662 away from 670, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

In conclusion, the division gives 11602.35347432 with a balance of 8e-09.