We divide 106507 by 42
The aim is to understand the frequency of 42 in 106507.

Step 1:
42 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 42

Going ahead to step 2:
The number 42 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 10 leaves us with 10.
Grab the next digit (6) from the dividend, add it to 10, then carry on: 106 / 42

Moving on to step 3:
If we divide 106 by 42, we get 2 and a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 84 from 106 to get 22.
Bring next digit (5) of the dividend behind the 22 and repeat the process: 225 / 42

Going ahead to step 4:
The number 42 fits into 225 5 times, leaving a remainder of 15.
The next digit of our result is 5. 
Result so far: 25.0
Subtracting 210 from 225 leaves us with 15.
Fetch the next digit (0) from the dividend, attach it to 15 and continue: 150 / 42

Moving on to step 5:
If we divide 150 by 42, we get 3 and a remainder of 24.
Record the quotient 3 as the next digit in the result. 
Result so far: 253.0
If we subtract 126 from 150, we get 24.
Fetch the next digit (7) from the dividend, attach it to 24 and continue: 247 / 42

Advancing to step 6:
If we divide 247 by 42, we get 5 and a remainder of 37.
Record the quotient 5 as the next digit in the result. 
Result so far: 2535.0
Deduct 210 from 247 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 7:
42 goes into 370 8 times with a remainder of 34.
Put 8 as the next digit of the answer. 
Result so far: 2535.8
The remainder is 34 after subtracting 336 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 8:
42 goes into 340 8 times with a remainder of 4.
The next digit of our result is 8. 
Result so far: 2535.88
Subtracting 336 from 340 leaves us 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.

The final outcome is 2535.88, with a leftover of 0.004.