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

Step 1:
The number 7 fits into 9 1 times, leaving a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 7 from 9 and we're left with 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 7

On to step 2:
7 can be fit into 28 4 times, resulting in a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we take 28 away from 28, we end up with 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 7

Going ahead to step 3:
The number 7 fits into 6 0 times, leaving a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 140.0
If we subtract 0 from 6, we get 6.
Grab the next digit (3) from the dividend, add it to 6, then carry on: 63 / 7

Step 4:
7 can be fit into 63 9 times, resulting in a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 1409.0
Subtract 63 from 63 to get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 7

On to step 5:
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: 14091.0
Subtract 7 from 7 to get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 7

Step 6:
7 can be fit into 7 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 140911.0
The remainder is 0 after subtracting 7 from 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
7 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 140911.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
7 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 140911.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 140911.0 with a remaining 0.0.