We look at the division of 99111431 by 331 
The aim is to understand the frequency of 331 in 99111431.

On to step 1:
331 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 331

Let's proceed to step 2:
99 divided by 331 is 0 with a remainder of 99.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 99, we end up with 99.
Include the next digit (1) from the dividend after 99, then repeat: 991 / 331

Step 3:
331 goes into 991 2 times with a remainder of 329.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 662 away from 991, we end up with 329.
Fetch the next digit (1) from the dividend, attach it to 329 and continue: 3291 / 331

Let's proceed to step 4:
331 can be fit into 3291 9 times, resulting in a remainder of 312.
Write down 9 as next digit of the result. 
Result so far: 29.0
If we subtract 2979 from 3291, we get 312.
Take the next digit (1) from the dividend and append it to 312, then repeat: 3121 / 331

On to step 5:
331 goes into 3121 9 times with a remainder of 142.
The number 9 becomes the next digit in our result. 
Result so far: 299.0
Subtract 2979 from 3121 to get 142.
Fetch the next digit (4) from the dividend, attach it to 142 and continue: 1424 / 331

Let's proceed to step 6:
331 goes into 1424 4 times with a remainder of 100.
Write down 4 as next digit of the result. 
Result so far: 2994.0
If we subtract 1324 from 1424, we get 100.
Grab the next digit (3) from the dividend, add it to 100, then carry on: 1003 / 331

Moving on to step 7:
331 can be fit into 1003 3 times, resulting in a remainder of 10.
Record the quotient 3 as the next digit in the result. 
Result so far: 29943.0
Subtracting 993 from 1003 leaves us with 10.
Grab the next digit (1) from the dividend, add it to 10, then carry on: 101 / 331

On to step 8:
101 divided by 331 is 0 with a remainder of 101.
The number 0 becomes the next digit in our result. 
Result so far: 299430.0
Subtracting 0 from 101 leaves us with 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Step 9:
331 can be fit into 1010 3 times, resulting in a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 299430.3
If we take 993 away from 1010, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 10:
170 divided by 331 is 0 with a remainder of 170.
Record the quotient 0 as the next digit in the result. 
Result so far: 299430.3
The remainder is 170 after subtracting 0 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Going ahead to step 11:
When dividing 1700 by 331, we get 5 with a remainder of 45.
Use 5 as the next digit of our solution. 
Result so far: 299430.305
The remainder is 45 after subtracting 1655 from 1700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Step 12:
When dividing 450 by 331, we get 1 with a remainder of 119.
Put 1 as the next digit of the answer. 
Result so far: 299430.3051
If we subtract 331 from 450, we get 119.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

Advancing to step 13:
When dividing 1190 by 331, we get 3 with a remainder of 197.
The number 3 becomes the next digit in our result. 
Result so far: 299430.30513
Subtract 993 from 1190 to get 197.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1970, and continue the process.

Step 14:
331 can be fit into 1970 5 times, resulting in a remainder of 315.
Record the quotient 5 as the next digit in the result. 
Result so far: 299430.305135
If we take 1655 away from 1970, we end up with 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

Going ahead to step 15:
If we divide 3150 by 331, we get 9 and a remainder of 171.
Record the quotient 9 as the next digit in the result. 
Result so far: 299430.3051359
Subtract 2979 from 3150 to get 171.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1710, and continue the process.

Let's proceed to step 16:
1710 divided by 331 is 5 with a remainder of 55.
Put 5 as the next digit of the answer. 
Result so far: 299430.30513595
Subtracting 1655 from 1710 leaves us with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

After the division, we end up with 299430.30513595 and a remainder of 5.5e-08.