106318 divided by 42 
The aim is to understand the frequency of 42 in 106318.

Moving on to step 1:
If we divide 1 by 42, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 42

Moving on to step 2:
When dividing 10 by 42, we get 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 10, we end up with 10.
Take the next digit (6) from the dividend and append it to 10, then repeat: 106 / 42

Advancing to step 3:
42 can be fit into 106 2 times, resulting in a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 84 from 106 to get 22.
Append the next digit (3) from the dividend to 22 and continue with: 223 / 42

On to step 4:
When dividing 223 by 42, we get 5 with a remainder of 13.
Write down 5 as next digit of the result. 
Result so far: 25.0
Subtracting 210 from 223 leaves us with 13.
Grab the next digit (1) from the dividend, add it to 13, then carry on: 131 / 42

Moving on to step 5:
The number 42 fits into 131 3 times, leaving a remainder of 5.
Record the quotient 3 as the next digit in the result. 
Result so far: 253.0
If we subtract 126 from 131, we get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 42

Step 6:
42 can be fit into 58 1 times, resulting in a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 2531.0
Subtracting 42 from 58 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 7:
160 divided by 42 is 3 with a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 2531.3
If we subtract 126 from 160, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 8:
If we divide 340 by 42, we get 8 and a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 2531.38
If we take 336 away from 340, we end up 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.

Step 9:
42 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 2531.38
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 10:
400 divided by 42 is 9 with a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 2531.3809
The remainder is 22 after subtracting 378 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 11:
42 can be fit into 220 5 times, resulting in a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 2531.38095
The remainder is 10 after subtracting 210 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 12:
42 goes into 100 2 times with a remainder of 16.
The next digit of our result is 2. 
Result so far: 2531.380952
The remainder is 16 after subtracting 84 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 13:
160 divided by 42 is 3 with a remainder of 34.
The next digit of our result is 3. 
Result so far: 2531.3809523
If we take 126 away from 160, we end up with 34.
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 14:
340 divided by 42 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 2531.38095238
Deduct 336 from 340 and we're left 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 2531.38095238, with a leftover of 4e-09.