We look at the division of 591297 by 7 
The aim is to understand the frequency of 7 in 591297.

Let's proceed to step 1:
When dividing 5 by 7, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 7

Going ahead to step 2:
When dividing 59 by 7, we get 8 with a remainder of 3.
The next digit of our result is 8. 
Result so far: 8.0
Subtracting 56 from 59 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 7

Advancing to step 3:
The number 7 fits into 31 4 times, leaving a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 84.0
Subtract 28 from 31 to get 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 7

Going ahead to step 4:
7 can be fit into 32 4 times, resulting in a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 844.0
Subtracting 28 from 32 leaves us with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 7

Advancing to step 5:
The number 7 fits into 49 7 times, leaving a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 8447.0
The remainder is 0 after subtracting 49 from 49.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 7

Let's proceed to step 6:
7 divided by 7 is 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 84471.0
If we subtract 7 from 7, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 7:
7 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 84471.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
7 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 84471.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 84471.0, and the remainder is 0.0.