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

Advancing to step 1:
The number 99 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 99

Advancing to step 2:
If we divide 36 by 99, we get 0 and a remainder of 36.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 36, we get 36.
Grab the next digit (5) from the dividend, add it to 36, then carry on: 365 / 99

Step 3:
99 can be fit into 365 3 times, resulting in a remainder of 68.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 297 from 365, we get 68.
Grab the next digit (7) from the dividend, add it to 68, then carry on: 687 / 99

Going ahead to step 4:
99 goes into 687 6 times with a remainder of 93.
Write down 6 as next digit of the result. 
Result so far: 36.0
If we take 594 away from 687, we end up with 93.
Fetch the next digit (8) from the dividend, attach it to 93 and continue: 938 / 99

Step 5:
The number 99 fits into 938 9 times, leaving a remainder of 47.
Use 9 as the next digit of our solution. 
Result so far: 369.0
Subtracting 891 from 938 leaves us with 47.
Fetch the next digit (6) from the dividend, attach it to 47 and continue: 476 / 99

Let's proceed to step 6:
99 can be fit into 476 4 times, resulting in a remainder of 80.
Write down 4 as next digit of the result. 
Result so far: 3694.0
If we subtract 396 from 476, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 7:
If we divide 800 by 99, we get 8 and a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 3694.8
Subtracting 792 from 800 leaves us 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.

On to step 8:
When dividing 80 by 99, we get 0 with a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 3694.8
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 9:
99 goes into 800 8 times with a remainder of 8.
The next digit of our result is 8. 
Result so far: 3694.808
If we subtract 792 from 800, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 10:
99 can be fit into 80 0 times, resulting in a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 3694.808
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 11:
99 can be fit into 800 8 times, resulting in a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 3694.80808
If we subtract 792 from 800, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 12:
When dividing 80 by 99, we get 0 with a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 3694.80808
Subtract 0 from 80 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Step 13:
99 can be fit into 800 8 times, resulting in a remainder of 8.
The next digit of our result is 8. 
Result so far: 3694.8080808
If we subtract 792 from 800, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 14:
When dividing 80 by 99, we get 0 with a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 3694.8080808
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

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