We look at the division of 585667 by 99 
The aim is to understand the frequency of 99 in 585667.

Advancing to step 1:
99 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 99

Going ahead to step 2:
58 divided by 99 is 0 with a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 58, we get 58.
Grab the next digit (5) from the dividend, add it to 58, then carry on: 585 / 99

On to step 3:
585 divided by 99 is 5 with a remainder of 90.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 495 from 585, we get 90.
Include the next digit (6) from the dividend after 90, then repeat: 906 / 99

Let's proceed to step 4:
906 divided by 99 is 9 with a remainder of 15.
Write down 9 as next digit of the result. 
Result so far: 59.0
If we subtract 891 from 906, we get 15.
Fetch the next digit (6) from the dividend, attach it to 15 and continue: 156 / 99

Step 5:
99 goes into 156 1 times with a remainder of 57.
Record the quotient 1 as the next digit in the result. 
Result so far: 591.0
Deduct 99 from 156 and we're left with 57.
Include the next digit (7) from the dividend after 57, then repeat: 577 / 99

On to step 6:
577 divided by 99 is 5 with a remainder of 82.
The number 5 becomes the next digit in our result. 
Result so far: 5915.0
Deduct 495 from 577 and we're left with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Going ahead to step 7:
The number 99 fits into 820 8 times, leaving a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 5915.8
The remainder is 28 after subtracting 792 from 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 8:
The number 99 fits into 280 2 times, leaving a remainder of 82.
The number 2 becomes the next digit in our result. 
Result so far: 5915.82
If we take 198 away from 280, we end up with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 9:
99 goes into 820 8 times with a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 5915.828
If we take 792 away from 820, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 10:
280 divided by 99 is 2 with a remainder of 82.
Use 2 as the next digit of our solution. 
Result so far: 5915.8282
Deduct 198 from 280 and we're left with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Step 11:
99 goes into 820 8 times with a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 5915.82828
Deduct 792 from 820 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 12:
99 goes into 280 2 times with a remainder of 82.
Use 2 as the next digit of our solution. 
Result so far: 5915.828282
Subtract 198 from 280 to get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Moving on to step 13:
If we divide 820 by 99, we get 8 and a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 5915.8282828
Subtract 792 from 820 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 14:
99 can be fit into 280 2 times, resulting in a remainder of 82.
Use 2 as the next digit of our solution. 
Result so far: 5915.82828282
If we take 198 away from 280, we end up with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

The quotient of the division is 5915.82828282, and the remainder is 8.2e-08.