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

Moving on to step 1:
7 goes into 6 0 times with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Bring next digit (1) of the dividend behind the 6 and repeat the process: 61 / 7

On to step 2:
When dividing 61 by 7, we get 8 with a remainder of 5.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we take 56 away from 61, we end up with 5.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 7

Moving on to step 3:
7 goes into 56 8 times with a remainder of 0.
The next digit of our result is 8. 
Result so far: 88.0
Deduct 56 from 56 and we're left with 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 7

Step 4:
1 divided by 7 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 880.0
Subtract 0 from 1 to get 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 7

Advancing to step 5:
7 can be fit into 15 2 times, resulting in a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 8802.0
If we subtract 14 from 15, we get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 7

Moving on to step 6:
If we divide 18 by 7, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 88022.0
Subtract 14 from 18 to 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.

On to step 7:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 88022.5
Subtract 35 from 40 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
50 divided by 7 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 88022.57
Deduct 49 from 50 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 9:
When dividing 10 by 7, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 88022.571
The remainder is 3 after subtracting 7 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 10:
30 divided by 7 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 88022.5714
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.

Moving on to step 11:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 88022.57142
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.

Advancing to step 12:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 88022.571428
Subtracting 56 from 60 leaves us 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.

Moving on to step 13:
The number 7 fits into 40 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 88022.5714285
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.

Moving on to step 14:
7 can be fit into 50 7 times, resulting in a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 88022.57142857
If we subtract 49 from 50, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

In conclusion, the division gives 88022.57142857 with a balance of 1e-09.