We look at the division of 377670 by 42 
The aim is to understand the frequency of 42 in 377670.

Going ahead to step 1:
When dividing 3 by 42, we get 0 with 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.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 42

Advancing to step 2:
37 divided by 42 is 0 with a remainder of 37.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 37 to get 37.
Append the next digit (7) from the dividend to 37 and continue with: 377 / 42

On to step 3:
If we divide 377 by 42, we get 8 and a remainder of 41.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Subtracting 336 from 377 leaves us with 41.
Append the next digit (6) from the dividend to 41 and continue with: 416 / 42

Step 4:
416 divided by 42 is 9 with a remainder of 38.
The number 9 becomes the next digit in our result. 
Result so far: 89.0
Subtracting 378 from 416 leaves us with 38.
Take the next digit (7) from the dividend and append it to 38, then repeat: 387 / 42

Let's proceed to step 5:
The number 42 fits into 387 9 times, leaving a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 899.0
If we subtract 378 from 387, we get 9.
Include the next digit (0) from the dividend after 9, then repeat: 90 / 42

On to step 6:
42 goes into 90 2 times with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 8992.0
The remainder is 6 after subtracting 84 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 7:
If we divide 60 by 42, we get 1 and a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 8992.1
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
The number 42 fits into 180 4 times, leaving a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 8992.14
If we take 168 away from 180, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
120 divided by 42 is 2 with a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 8992.142
If we take 84 away from 120, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 10:
360 divided by 42 is 8 with a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 8992.1428
The remainder is 24 after subtracting 336 from 360.
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 11:
If we divide 240 by 42, we get 5 and a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 8992.14285
Subtracting 210 from 240 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 12:
When dividing 300 by 42, we get 7 with a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 8992.142857
If we subtract 294 from 300, we 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:
If we divide 60 by 42, we get 1 and a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 8992.1428571
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 14:
42 can be fit into 180 4 times, resulting in a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 8992.14285714
Subtracting 168 from 180 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 8992.14285714 with a remaining 1.2e-08.