42417 divided by 34 
The aim is to understand the frequency of 34 in 42417.

Going ahead to step 1:
The number 34 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 34

Step 2:
34 can be fit into 42 1 times, resulting in a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 34 away from 42, we end up with 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 34

Step 3:
If we divide 84 by 34, we get 2 and a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Deduct 68 from 84 and we're left with 16.
Include the next digit (1) from the dividend after 16, then repeat: 161 / 34

Advancing to step 4:
34 goes into 161 4 times with a remainder of 25.
The next digit of our result is 4. 
Result so far: 124.0
If we take 136 away from 161, we end up with 25.
Include the next digit (7) from the dividend after 25, then repeat: 257 / 34

Advancing to step 5:
257 divided by 34 is 7 with a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 1247.0
The remainder is 19 after subtracting 238 from 257.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 6:
When dividing 190 by 34, we get 5 with a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 1247.5
If we take 170 away from 190, 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.

Going ahead to step 7:
34 goes into 200 5 times with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 1247.55
If we subtract 170 from 200, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The quotient of the division is 1247.55, and the remainder is 0.03.