Let's divide 578298 by 7
The aim is to understand the frequency of 7 in 578298.

On to step 1:
When dividing 5 by 7, we get 0 with 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.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 7

On to step 2:
When dividing 57 by 7, we get 8 with a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 56 from 57, we get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 7

Moving on to step 3:
When dividing 18 by 7, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 82.0
Deduct 14 from 18 and we're left with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 7

Moving on to step 4:
7 goes into 42 6 times with a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 826.0
Subtract 42 from 42 to get 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 7

Advancing to step 5:
When dividing 9 by 7, we get 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 8261.0
Deduct 7 from 9 and we're left with 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 7

Going ahead to step 6:
7 can be fit into 28 4 times, resulting in a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 82614.0
The remainder is 0 after subtracting 28 from 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 7:
0 divided by 7 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 82614.0
Subtract 0 from 0 to 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.

Going ahead to step 8:
When dividing 0 by 7, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 82614.0
If we subtract 0 from 0, 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.

The final result is 82614.0 with a remainder of 0.0.