We divide 99829887 by 311
The aim is to understand the frequency of 311 in 99829887.

Step 1:
If we divide 9 by 311, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 311

Going ahead to step 2:
99 divided by 311 is 0 with a remainder of 99.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 99 leaves us with 99.
Include the next digit (8) from the dividend after 99, then repeat: 998 / 311

Going ahead to step 3:
311 goes into 998 3 times with a remainder of 65.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 933 from 998 to get 65.
Include the next digit (2) from the dividend after 65, then repeat: 652 / 311

Let's proceed to step 4:
652 divided by 311 is 2 with a remainder of 30.
Put 2 as the next digit of the answer. 
Result so far: 32.0
If we take 622 away from 652, we end up with 30.
Include the next digit (9) from the dividend after 30, then repeat: 309 / 311

Step 5:
The number 311 fits into 309 0 times, leaving a remainder of 309.
Record the quotient 0 as the next digit in the result. 
Result so far: 320.0
The remainder is 309 after subtracting 0 from 309.
Bring next digit (8) of the dividend behind the 309 and repeat the process: 3098 / 311

Going ahead to step 6:
When dividing 3098 by 311, we get 9 with a remainder of 299.
Put 9 as the next digit of the answer. 
Result so far: 3209.0
If we subtract 2799 from 3098, we get 299.
Append the next digit (8) from the dividend to 299 and continue with: 2998 / 311

Moving on to step 7:
When dividing 2998 by 311, we get 9 with a remainder of 199.
Use 9 as the next digit of our solution. 
Result so far: 32099.0
Subtracting 2799 from 2998 leaves us with 199.
Grab the next digit (7) from the dividend, add it to 199, then carry on: 1997 / 311

Going ahead to step 8:
The number 311 fits into 1997 6 times, leaving a remainder of 131.
The next digit of our result is 6. 
Result so far: 320996.0
Subtract 1866 from 1997 to get 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

Advancing to step 9:
1310 divided by 311 is 4 with a remainder of 66.
The next digit of our result is 4. 
Result so far: 320996.4
If we subtract 1244 from 1310, we get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Going ahead to step 10:
311 can be fit into 660 2 times, resulting in a remainder of 38.
The number 2 becomes the next digit in our result. 
Result so far: 320996.42
If we subtract 622 from 660, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 11:
311 goes into 380 1 times with a remainder of 69.
Put 1 as the next digit of the answer. 
Result so far: 320996.421
Deduct 311 from 380 and we're left with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

On to step 12:
311 can be fit into 690 2 times, resulting in a remainder of 68.
Write down 2 as next digit of the result. 
Result so far: 320996.4212
If we subtract 622 from 690, we get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Step 13:
680 divided by 311 is 2 with a remainder of 58.
Record the quotient 2 as the next digit in the result. 
Result so far: 320996.42122
Deduct 622 from 680 and we're left with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

The final outcome is 320996.42122, with a leftover of 5.8e-05.