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

Going ahead to step 1:
If we divide 1 by 42, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 42

Going ahead to step 2:
14 divided by 42 is 0 with a remainder of 14.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 14 after subtracting 0 from 14.
Append the next digit (8) from the dividend to 14 and continue with: 148 / 42

On to step 3:
42 goes into 148 3 times with a remainder of 22.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 22 after subtracting 126 from 148.
Grab the next digit (7) from the dividend, add it to 22, then carry on: 227 / 42

Going ahead to step 4:
42 can be fit into 227 5 times, resulting in a remainder of 17.
Write down 5 as next digit of the result. 
Result so far: 35.0
Deduct 210 from 227 and we're left with 17.
Include the next digit (4) from the dividend after 17, then repeat: 174 / 42

On to step 5:
42 can be fit into 174 4 times, resulting in a remainder of 6.
The next digit of our result is 4. 
Result so far: 354.0
If we subtract 168 from 174, we get 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 42

Step 6:
If we divide 66 by 42, we get 1 and a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 3541.0
Subtract 42 from 66 to 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.

Going ahead to step 7:
42 can be fit into 240 5 times, resulting in a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 3541.5
If we subtract 210 from 240, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
If we divide 300 by 42, we get 7 and a remainder of 6.
The next digit of our result is 7. 
Result so far: 3541.57
Deduct 294 from 300 and we're left 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 9:
When dividing 60 by 42, we get 1 with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 3541.571
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.

Let's proceed to step 10:
42 goes into 180 4 times with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 3541.5714
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.

On to step 11:
120 divided by 42 is 2 with a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 3541.57142
Subtracting 84 from 120 leaves us 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 12:
When dividing 360 by 42, we get 8 with a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 3541.571428
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.

Advancing to step 13:
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: 3541.5714285
If we take 210 away from 240, we end up 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.

Advancing to step 14:
42 goes into 300 7 times with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 3541.57142857
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.

After the division, we end up with 3541.57142857 and a remainder of 6e-09.