We're dividing 993107 by 42 
The aim is to understand the frequency of 42 in 993107.

Let's proceed to step 1:
If we divide 9 by 42, we get 0 and a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 42

On to step 2:
The number 42 fits into 99 2 times, leaving a remainder of 15.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 84 away from 99, we end up with 15.
Grab the next digit (3) from the dividend, add it to 15, then carry on: 153 / 42

Going ahead to step 3:
If we divide 153 by 42, we get 3 and a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 23.0
If we subtract 126 from 153, we get 27.
Include the next digit (1) from the dividend after 27, then repeat: 271 / 42

Let's proceed to step 4:
If we divide 271 by 42, we get 6 and a remainder of 19.
Use 6 as the next digit of our solution. 
Result so far: 236.0
Deduct 252 from 271 and we're left with 19.
Bring next digit (0) of the dividend behind the 19 and repeat the process: 190 / 42

Step 5:
42 goes into 190 4 times with a remainder of 22.
The next digit of our result is 4. 
Result so far: 2364.0
Subtract 168 from 190 to get 22.
Append the next digit (7) from the dividend to 22 and continue with: 227 / 42

Let's proceed to step 6:
If we divide 227 by 42, we get 5 and a remainder of 17.
Put 5 as the next digit of the answer. 
Result so far: 23645.0
Deduct 210 from 227 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 7:
If we divide 170 by 42, we get 4 and a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 23645.4
Subtract 168 from 170 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 8:
20 divided by 42 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 23645.4
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
42 can be fit into 200 4 times, resulting in a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 23645.404
Subtracting 168 from 200 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 10:
42 can be fit into 320 7 times, resulting in a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 23645.4047
If we subtract 294 from 320, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 11:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 23645.40476
The remainder is 8 after subtracting 252 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 12:
42 can be fit into 80 1 times, resulting in a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 23645.404761
The remainder is 38 after subtracting 42 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 13:
42 goes into 380 9 times with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 23645.4047619
If we subtract 378 from 380, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 14:
42 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 23645.4047619
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Our division results in 23645.4047619 with a remaining 2e-08.