Let's divide 371937 by 42
The aim is to understand the frequency of 42 in 371937.

Let's proceed to step 1:
42 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 42

Going ahead to step 2:
If we divide 37 by 42, we get 0 and a remainder of 37.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 37, we get 37.
Append the next digit (1) from the dividend to 37 and continue with: 371 / 42

Advancing to step 3:
If we divide 371 by 42, we get 8 and a remainder of 35.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtracting 336 from 371 leaves us with 35.
Append the next digit (9) from the dividend to 35 and continue with: 359 / 42

Advancing to step 4:
When dividing 359 by 42, we get 8 with a remainder of 23.
Use 8 as the next digit of our solution. 
Result so far: 88.0
Deduct 336 from 359 and we're left with 23.
Bring next digit (3) of the dividend behind the 23 and repeat the process: 233 / 42

On to step 5:
If we divide 233 by 42, we get 5 and a remainder of 23.
Put 5 as the next digit of the answer. 
Result so far: 885.0
Subtracting 210 from 233 leaves us with 23.
Bring next digit (7) of the dividend behind the 23 and repeat the process: 237 / 42

Going ahead to step 6:
42 goes into 237 5 times with a remainder of 27.
The number 5 becomes the next digit in our result. 
Result so far: 8855.0
If we take 210 away from 237, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 7:
42 can be fit into 270 6 times, resulting in a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 8855.6
Subtracting 252 from 270 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.

Going ahead to step 8:
180 divided by 42 is 4 with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 8855.64
Deduct 168 from 180 and we're left 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.

Going ahead to step 9:
42 can be fit into 120 2 times, resulting in a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 8855.642
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.

Let's proceed to step 10:
42 goes into 360 8 times with a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 8855.6428
Deduct 336 from 360 and we're left 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.

On to step 11:
The number 42 fits into 240 5 times, leaving a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 8855.64285
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:
42 can be fit into 300 7 times, resulting in a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 8855.642857
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.

Step 13:
60 divided by 42 is 1 with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 8855.6428571
Deduct 42 from 60 and we're left 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 14:
42 can be fit into 180 4 times, resulting in a remainder of 12.
The next digit of our result is 4. 
Result so far: 8855.64285714
If we subtract 168 from 180, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

After the division, we end up with 8855.64285714 and a remainder of 1.2e-08.