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

Going ahead to step 1:
7 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 7

On to step 2:
30 divided by 7 is 4 with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Deduct 28 from 30 and we're left with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 7

Advancing to step 3:
7 goes into 21 3 times with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 43.0
Subtract 21 from 21 to get 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 7

Going ahead to step 4:
When dividing 9 by 7, we get 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 431.0
Deduct 7 from 9 and we're left with 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 7

Going ahead to step 5:
28 divided by 7 is 4 with a remainder of 0.
The next digit of our result is 4. 
Result so far: 4314.0
If we take 28 away from 28, we end up with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 7

Let's proceed to step 6:
7 divided by 7 is 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 43141.0
If we take 7 away from 7, we end up 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.

Advancing to step 7:
7 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 43141.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.

Let's proceed to step 8:
The number 7 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 43141.0
If we take 0 away from 0, we end up 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.

After the division, we end up with 43141.0 and a remainder of 0.0.