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

Let's proceed to step 1:
7 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 7

Moving on to step 2:
17 divided by 7 is 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 3 after subtracting 14 from 17.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 7

Let's proceed to step 3:
If we divide 38 by 7, we get 5 and a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
Subtract 35 from 38 to get 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 7

Step 4:
When dividing 38 by 7, we get 5 with a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 255.0
Subtracting 35 from 38 leaves us 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.

Step 5:
30 divided by 7 is 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 255.4
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.

On to step 6:
If we divide 20 by 7, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 255.42
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.

Step 7:
60 divided by 7 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 255.428
If we take 56 away from 60, we end up 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.

Step 8:
When dividing 40 by 7, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 255.4285
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.

Going ahead to step 9:
50 divided by 7 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 255.42857
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.

Let's proceed to step 10:
7 goes into 10 1 times with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 255.428571
Subtracting 7 from 10 leaves us 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.

Going ahead to step 11:
7 goes into 30 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 255.4285714
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.

Going ahead to step 12:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 255.42857142
The remainder is 6 after subtracting 14 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 255.42857142 with a remaining 6e-09.