We look at the division of 4977992 by 591 
The aim is to understand the frequency of 591 in 4977992.

On to step 1:
591 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 591

Advancing to step 2:
49 divided by 591 is 0 with a remainder of 49.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 49 to get 49.
Bring next digit (7) of the dividend behind the 49 and repeat the process: 497 / 591

Advancing to step 3:
When dividing 497 by 591, we get 0 with a remainder of 497.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 497 leaves us with 497.
Fetch the next digit (7) from the dividend, attach it to 497 and continue: 4977 / 591

Going ahead to step 4:
The number 591 fits into 4977 8 times, leaving a remainder of 249.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtract 4728 from 4977 to get 249.
Append the next digit (9) from the dividend to 249 and continue with: 2499 / 591

Going ahead to step 5:
591 can be fit into 2499 4 times, resulting in a remainder of 135.
Record the quotient 4 as the next digit in the result. 
Result so far: 84.0
The remainder is 135 after subtracting 2364 from 2499.
Include the next digit (9) from the dividend after 135, then repeat: 1359 / 591

Going ahead to step 6:
591 can be fit into 1359 2 times, resulting in a remainder of 177.
Record the quotient 2 as the next digit in the result. 
Result so far: 842.0
If we subtract 1182 from 1359, we get 177.
Take the next digit (2) from the dividend and append it to 177, then repeat: 1772 / 591

Moving on to step 7:
The number 591 fits into 1772 2 times, leaving a remainder of 590.
The next digit of our result is 2. 
Result so far: 8422.0
The remainder is 590 after subtracting 1182 from 1772.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Going ahead to step 8:
The number 591 fits into 5900 9 times, leaving a remainder of 581.
The number 9 becomes the next digit in our result. 
Result so far: 8422.9
Subtract 5319 from 5900 to get 581.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5810, and continue the process.

Moving on to step 9:
When dividing 5810 by 591, we get 9 with a remainder of 491.
The next digit of our result is 9. 
Result so far: 8422.99
If we subtract 5319 from 5810, we get 491.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4910, and continue the process.

The final outcome is 8422.99, with a leftover of 0.491.