We divide 548396 by 7
The aim is to understand the frequency of 7 in 548396.

Advancing to step 1:
When dividing 5 by 7, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 7

Moving on to step 2:
7 can be fit into 54 7 times, resulting in a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we take 49 away from 54, we end up with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 7

Let's proceed to step 3:
The number 7 fits into 58 8 times, leaving a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 78.0
Deduct 56 from 58 and we're left with 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 7

On to step 4:
The number 7 fits into 23 3 times, leaving a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 783.0
Subtracting 21 from 23 leaves us with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 7

Let's proceed to step 5:
When dividing 29 by 7, we get 4 with a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 7834.0
If we subtract 28 from 29, we get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 7

Let's proceed to step 6:
When dividing 16 by 7, we get 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 78342.0
If we take 14 away from 16, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
When dividing 20 by 7, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 78342.2
If we subtract 14 from 20, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
60 divided by 7 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 78342.28
Deduct 56 from 60 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
7 goes into 40 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 78342.285
Deduct 35 from 40 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 10:
The number 7 fits into 50 7 times, leaving a remainder of 1.
The next digit of our result is 7. 
Result so far: 78342.2857
The remainder is 1 after subtracting 49 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 11:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 78342.28571
If we subtract 7 from 10, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 12:
If we divide 30 by 7, we get 4 and a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 78342.285714
If we subtract 28 from 30, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 13:
7 goes into 20 2 times with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 78342.2857142
Deduct 14 from 20 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 14:
60 divided by 7 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 78342.28571428
If we subtract 56 from 60, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 78342.28571428 with a remaining 4e-09.