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

Moving on to step 1:
If we divide 3 by 7, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 7

Let's proceed to step 2:
37 divided by 7 is 5 with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 2 after subtracting 35 from 37.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 7

On to step 3:
7 goes into 24 3 times with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 53.0
Deduct 21 from 24 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 7

Let's proceed to step 4:
7 can be fit into 39 5 times, resulting in a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 535.0
The remainder is 4 after subtracting 35 from 39.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 7

Let's proceed to step 5:
The number 7 fits into 40 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 5355.0
If we take 35 away from 40, we end up with 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 7

Advancing to step 6:
If we divide 54 by 7, we get 7 and a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 53557.0
Subtracting 49 from 54 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.

Advancing to step 7:
7 goes into 50 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 53557.7
If we take 49 away from 50, we end up with 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 8:
When dividing 10 by 7, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 53557.71
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.

Let's proceed to step 9:
7 goes into 30 4 times with a remainder of 2.
The next digit of our result is 4. 
Result so far: 53557.714
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.

Step 10:
20 divided by 7 is 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 53557.7142
Subtracting 14 from 20 leaves us 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.

On to step 11:
When dividing 60 by 7, we get 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 53557.71428
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.

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

Advancing to step 13:
When dividing 50 by 7, we get 7 with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 53557.7142857
If we take 49 away from 50, we end up with 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 14:
When dividing 10 by 7, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 53557.71428571
If we subtract 7 from 10, we 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.

The final result is 53557.71428571 with a remainder of 3e-09.