We look at the division of 667942 by 74 
The aim is to understand the frequency of 74 in 667942.

On to step 1:
74 goes into 6 0 times with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Fetch the next digit (6) from the dividend, attach it to 6 and continue: 66 / 74

On to step 2:
When dividing 66 by 74, we get 0 with a remainder of 66.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 66, we get 66.
Include the next digit (7) from the dividend after 66, then repeat: 667 / 74

On to step 3:
74 can be fit into 667 9 times, resulting in a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 9.0
Subtract 666 from 667 to get 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 74

Going ahead to step 4:
When dividing 19 by 74, we get 0 with a remainder of 19.
The number 0 becomes the next digit in our result. 
Result so far: 90.0
Subtracting 0 from 19 leaves us with 19.
Include the next digit (4) from the dividend after 19, then repeat: 194 / 74

Going ahead to step 5:
When dividing 194 by 74, we get 2 with a remainder of 46.
The next digit of our result is 2. 
Result so far: 902.0
Subtract 148 from 194 to get 46.
Include the next digit (2) from the dividend after 46, then repeat: 462 / 74

Advancing to step 6:
462 divided by 74 is 6 with a remainder of 18.
Put 6 as the next digit of the answer. 
Result so far: 9026.0
The remainder is 18 after subtracting 444 from 462.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 7:
74 goes into 180 2 times with a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 9026.2
Subtract 148 from 180 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 8:
The number 74 fits into 320 4 times, leaving a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 9026.24
Subtracting 296 from 320 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 9:
240 divided by 74 is 3 with a remainder of 18.
Use 3 as the next digit of our solution. 
Result so far: 9026.243
The remainder is 18 after subtracting 222 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 10:
The number 74 fits into 180 2 times, leaving a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 9026.2432
Deduct 148 from 180 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 11:
320 divided by 74 is 4 with a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 9026.24324
If we subtract 296 from 320, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 12:
240 divided by 74 is 3 with a remainder of 18.
Use 3 as the next digit of our solution. 
Result so far: 9026.243243
Subtracting 222 from 240 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 13:
If we divide 180 by 74, we get 2 and a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 9026.2432432
Deduct 148 from 180 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 14:
When dividing 320 by 74, we get 4 with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 9026.24324324
Subtracting 296 from 320 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final outcome is 9026.24324324, with a leftover of 2.4e-08.