We're dividing 99772 by 7 
The aim is to understand the frequency of 7 in 99772.

Step 1:
7 can be fit into 9 1 times, resulting in a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 7 away from 9, we end up with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 7

Going ahead to step 2:
The number 7 fits into 29 4 times, leaving a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Subtract 28 from 29 to get 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 7

Step 3:
When dividing 17 by 7, we get 2 with a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 142.0
If we take 14 away from 17, we end up with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 7

Moving on to step 4:
7 can be fit into 37 5 times, resulting in a remainder of 2.
The next digit of our result is 5. 
Result so far: 1425.0
The remainder is 2 after subtracting 35 from 37.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 7

On to step 5:
When dividing 22 by 7, we get 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 14253.0
Subtract 21 from 22 to 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.

Advancing to step 6:
When dividing 10 by 7, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 14253.1
Subtract 7 from 10 to 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.

Moving on to step 7:
The number 7 fits into 30 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 14253.14
The remainder is 2 after subtracting 28 from 30.
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 8:
If we divide 20 by 7, we get 2 and a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 14253.142
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 9:
60 divided by 7 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 14253.1428
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 10:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 14253.14285
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.

Advancing to step 11:
7 goes into 50 7 times with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 14253.142857
Subtract 49 from 50 to 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.

Step 12:
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: 14253.1428571
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.

Advancing to step 13:
If we divide 30 by 7, we get 4 and a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 14253.14285714
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.

The quotient of the division is 14253.14285714, and the remainder is 2e-09.