388765 divided by 7 
The aim is to understand the frequency of 7 in 388765.

On to step 1:
When dividing 3 by 7, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 7

Let's proceed to step 2:
The number 7 fits into 38 5 times, leaving a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 35 away from 38, we end up with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 7

Moving on to step 3:
The number 7 fits into 38 5 times, leaving a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 55.0
Subtracting 35 from 38 leaves us with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 7

Going ahead to step 4:
When dividing 37 by 7, we get 5 with a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 555.0
Deduct 35 from 37 and we're left with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 7

Step 5:
When dividing 26 by 7, we get 3 with a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 5553.0
Subtracting 21 from 26 leaves us with 5.
Bring next digit (5) of the dividend behind the 5 and repeat the process: 55 / 7

Moving on to step 6:
When dividing 55 by 7, we get 7 with a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 55537.0
If we take 49 away from 55, we end up 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 7:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 55537.8
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.

Let's proceed to step 8:
The number 7 fits into 40 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 55537.85
Subtracting 35 from 40 leaves us 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.

Step 9:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 55537.857
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.

Going ahead to step 10:
7 goes into 10 1 times with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 55537.8571
Deduct 7 from 10 and we're left 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 11:
If we divide 30 by 7, we get 4 and a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 55537.85714
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.

Let's proceed to step 12:
7 goes into 20 2 times with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 55537.857142
Subtract 14 from 20 to 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.

On to step 13:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 55537.8571428
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.

Step 14:
7 can be fit into 40 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 55537.85714285
Subtracting 35 from 40 leaves us 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.

The quotient of the division is 55537.85714285, and the remainder is 5e-09.