We look at the division of 430117 by 42 
The aim is to understand the frequency of 42 in 430117.

Advancing to step 1:
When dividing 4 by 42, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (3) from the dividend and append it to 4, then repeat: 43 / 42

Let's proceed to step 2:
42 can be fit into 43 1 times, resulting in a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 42 from 43 and we're left with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 42

Let's proceed to step 3:
The number 42 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Subtracting 0 from 10 leaves us with 10.
Grab the next digit (1) from the dividend, add it to 10, then carry on: 101 / 42

Advancing to step 4:
42 can be fit into 101 2 times, resulting in a remainder of 17.
Write down 2 as next digit of the result. 
Result so far: 102.0
If we take 84 away from 101, we end up with 17.
Fetch the next digit (1) from the dividend, attach it to 17 and continue: 171 / 42

Moving on to step 5:
If we divide 171 by 42, we get 4 and a remainder of 3.
The next digit of our result is 4. 
Result so far: 1024.0
The remainder is 3 after subtracting 168 from 171.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 42

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

Advancing to step 7:
42 can be fit into 370 8 times, resulting in a remainder of 34.
Put 8 as the next digit of the answer. 
Result so far: 10240.8
The remainder is 34 after subtracting 336 from 370.
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 8:
The number 42 fits into 340 8 times, leaving a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 10240.88
Subtract 336 from 340 to get 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 quotient of the division is 10240.88, and the remainder is 0.004.