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

On to step 1:
If we divide 4 by 42, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (3) from the dividend, attach it to 4 and continue: 43 / 42

Moving on to step 2:
43 divided by 42 is 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 1 after subtracting 42 from 43.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 42

Step 3:
42 can be fit into 15 0 times, resulting in a remainder of 15.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 15 after subtracting 0 from 15.
Fetch the next digit (9) from the dividend, attach it to 15 and continue: 159 / 42

On to step 4:
If we divide 159 by 42, we get 3 and a remainder of 33.
The next digit of our result is 3. 
Result so far: 103.0
Subtracting 126 from 159 leaves us with 33.
Fetch the next digit (4) from the dividend, attach it to 33 and continue: 334 / 42

Advancing to step 5:
If we divide 334 by 42, we get 7 and a remainder of 40.
Put 7 as the next digit of the answer. 
Result so far: 1037.0
If we subtract 294 from 334, we get 40.
Grab the next digit (2) from the dividend, add it to 40, then carry on: 402 / 42

Let's proceed to step 6:
When dividing 402 by 42, we get 9 with a remainder of 24.
Put 9 as the next digit of the answer. 
Result so far: 10379.0
If we subtract 378 from 402, we 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.

Step 7:
The number 42 fits into 240 5 times, leaving a remainder of 30.
The next digit of our result is 5. 
Result so far: 10379.5
Deduct 210 from 240 and we're left 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.

Let's proceed to step 8:
If we divide 300 by 42, we get 7 and a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 10379.57
Subtract 294 from 300 to 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.

Advancing to step 9:
The number 42 fits into 60 1 times, leaving a remainder of 18.
The next digit of our result is 1. 
Result so far: 10379.571
Subtract 42 from 60 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 10:
180 divided by 42 is 4 with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 10379.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.

Going ahead to step 11:
42 can be fit into 120 2 times, resulting in a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 10379.57142
If we subtract 84 from 120, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 12:
When dividing 360 by 42, we get 8 with a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 10379.571428
The remainder is 24 after subtracting 336 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 13:
42 can be fit into 240 5 times, resulting in a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 10379.5714285
Deduct 210 from 240 and we're left 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.

On to step 14:
When dividing 300 by 42, we get 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 10379.57142857
If we take 294 away from 300, we end up 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.

Our division results in 10379.57142857 with a remaining 6e-09.