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

Moving on to step 1:
If we divide 7 by 7, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 0 after subtracting 7 from 7.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 7

On to step 2:
The number 7 fits into 8 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 11.0
If we take 7 away from 8, we end up with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 7

On to step 3:
7 can be fit into 19 2 times, resulting in a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 112.0
The remainder is 5 after subtracting 14 from 19.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 7

Moving on to step 4:
If we divide 51 by 7, we get 7 and a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 1127.0
Deduct 49 from 51 and we're left with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 7

Let's proceed to step 5:
If we divide 29 by 7, we get 4 and a remainder of 1.
The next digit of our result is 4. 
Result so far: 11274.0
Subtract 28 from 29 to get 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 7

Advancing to step 6:
The number 7 fits into 19 2 times, leaving a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 112742.0
If we subtract 14 from 19, we 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 7:
If we divide 50 by 7, we get 7 and a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 112742.7
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.

Advancing to step 8:
When dividing 10 by 7, we get 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 112742.71
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.

On to step 9:
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: 112742.714
Deduct 28 from 30 and we're left 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.

Going ahead to step 10:
If we divide 20 by 7, we get 2 and a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 112742.7142
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.

Moving on to step 11:
If we divide 60 by 7, we get 8 and a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 112742.71428
Subtract 56 from 60 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 12:
If we divide 40 by 7, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 112742.714285
If we take 35 away from 40, we end up 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.

On to step 13:
When dividing 50 by 7, we get 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 112742.7142857
Subtracting 49 from 50 leaves us 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.

Advancing to step 14:
7 can be fit into 10 1 times, resulting in a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 112742.71428571
If we take 7 away from 10, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Our division results in 112742.71428571 with a remaining 3e-09.