940718 ÷ 42 
The aim is to understand the frequency of 42 in 940718.

Moving on to step 1:
The number 42 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 42

Advancing to step 2:
If we divide 94 by 42, we get 2 and a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 84 from 94 leaves us with 10.
Take the next digit (0) from the dividend and append it to 10, then repeat: 100 / 42

Let's proceed to step 3:
When dividing 100 by 42, we get 2 with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
Subtracting 84 from 100 leaves us with 16.
Fetch the next digit (7) from the dividend, attach it to 16 and continue: 167 / 42

Going ahead to step 4:
If we divide 167 by 42, we get 3 and a remainder of 41.
Put 3 as the next digit of the answer. 
Result so far: 223.0
Deduct 126 from 167 and we're left with 41.
Grab the next digit (1) from the dividend, add it to 41, then carry on: 411 / 42

Let's proceed to step 5:
If we divide 411 by 42, we get 9 and a remainder of 33.
Put 9 as the next digit of the answer. 
Result so far: 2239.0
Subtract 378 from 411 to get 33.
Fetch the next digit (8) from the dividend, attach it to 33 and continue: 338 / 42

Going ahead to step 6:
42 can be fit into 338 8 times, resulting in a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 22398.0
Subtracting 336 from 338 leaves us with 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 7:
The number 42 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 22398.0
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.

Moving on to step 8:
42 goes into 200 4 times with a remainder of 32.
The next digit of our result is 4. 
Result so far: 22398.04
Deduct 168 from 200 and we're left 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.

Moving on to step 9:
The number 42 fits into 320 7 times, leaving a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 22398.047
Deduct 294 from 320 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 10:
260 divided by 42 is 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 22398.0476
Deduct 252 from 260 and we're left with 8.
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 11:
When dividing 80 by 42, we get 1 with a remainder of 38.
Use 1 as the next digit of our solution. 
Result so far: 22398.04761
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 12:
42 can be fit into 380 9 times, resulting in a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 22398.047619
Subtracting 378 from 380 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 13:
When dividing 20 by 42, we get 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 22398.047619
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 14:
The number 42 fits into 200 4 times, leaving a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 22398.04761904
Deduct 168 from 200 and we're left 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.

The final outcome is 22398.04761904, with a leftover of 3.2e-08.