We're dividing 40120 by 99 
The aim is to understand the frequency of 99 in 40120.

On to step 1:
The number 99 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 99

On to step 2:
The number 99 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 99

Moving on to step 3:
If we divide 401 by 99, we get 4 and a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we take 396 away from 401, we end up with 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 99

Let's proceed to step 4:
If we divide 52 by 99, we get 0 and a remainder of 52.
Write down 0 as next digit of the result. 
Result so far: 40.0
If we subtract 0 from 52, we get 52.
Bring next digit (0) of the dividend behind the 52 and repeat the process: 520 / 99

Let's proceed to step 5:
If we divide 520 by 99, we get 5 and a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 405.0
Subtracting 495 from 520 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 6:
99 goes into 250 2 times with a remainder of 52.
The number 2 becomes the next digit in our result. 
Result so far: 405.2
Subtract 198 from 250 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 7:
520 divided by 99 is 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 405.25
If we subtract 495 from 520, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 8:
When dividing 250 by 99, we get 2 with a remainder of 52.
The next digit of our result is 2. 
Result so far: 405.252
If we take 198 away from 250, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 9:
99 goes into 520 5 times with a remainder of 25.
The next digit of our result is 5. 
Result so far: 405.2525
The remainder is 25 after subtracting 495 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 10:
99 goes into 250 2 times with a remainder of 52.
The number 2 becomes the next digit in our result. 
Result so far: 405.25252
Subtracting 198 from 250 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 11:
The number 99 fits into 520 5 times, leaving a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 405.252525
Deduct 495 from 520 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 12:
99 can be fit into 250 2 times, resulting in a remainder of 52.
Use 2 as the next digit of our solution. 
Result so far: 405.2525252
The remainder is 52 after subtracting 198 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 13:
When dividing 520 by 99, we get 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 405.25252525
Subtract 495 from 520 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The final result is 405.25252525 with a remainder of 2.5e-08.