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

Step 1:
9 divided by 42 is 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Grab the next digit (4) from the dividend, add it to 9, then carry on: 94 / 42

On to step 2:
94 divided by 42 is 2 with a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 84 away from 94, we end up with 10.
Take the next digit (5) from the dividend and append it to 10, then repeat: 105 / 42

Step 3:
When dividing 105 by 42, we get 2 with a remainder of 21.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
If we take 84 away from 105, we end up with 21.
Fetch the next digit (4) from the dividend, attach it to 21 and continue: 214 / 42

On to step 4:
When dividing 214 by 42, we get 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 225.0
Subtract 210 from 214 to get 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 42

Let's proceed to step 5:
If we divide 46 by 42, we get 1 and a remainder of 4.
The next digit of our result is 1. 
Result so far: 2251.0
If we subtract 42 from 46, we get 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 42

Let's proceed to step 6:
When dividing 47 by 42, we get 1 with a remainder of 5.
The next digit of our result is 1. 
Result so far: 22511.0
Subtracting 42 from 47 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
When dividing 50 by 42, we get 1 with a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 22511.1
If we take 42 away from 50, we end up 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.

On to step 8:
80 divided by 42 is 1 with a remainder of 38.
The next digit of our result is 1. 
Result so far: 22511.11
Subtract 42 from 80 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The final result is 22511.11 with a remainder of 0.038.