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

Advancing to step 1:
If we divide 8 by 42, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Take the next digit (3) from the dividend and append it to 8, then repeat: 83 / 42

Moving on to step 2:
42 goes into 83 1 times with a remainder of 41.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 42 from 83 to get 41.
Append the next digit (4) from the dividend to 41 and continue with: 414 / 42

Going ahead to step 3:
42 can be fit into 414 9 times, resulting in a remainder of 36.
The next digit of our result is 9. 
Result so far: 19.0
Subtract 378 from 414 to get 36.
Bring next digit (4) of the dividend behind the 36 and repeat the process: 364 / 42

Step 4:
If we divide 364 by 42, we get 8 and a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 198.0
Deduct 336 from 364 and we're left with 28.
Grab the next digit (1) from the dividend, add it to 28, then carry on: 281 / 42

Advancing to step 5:
42 goes into 281 6 times with a remainder of 29.
Write down 6 as next digit of the result. 
Result so far: 1986.0
The remainder is 29 after subtracting 252 from 281.
Take the next digit (8) from the dividend and append it to 29, then repeat: 298 / 42

Step 6:
If we divide 298 by 42, we get 7 and a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 19867.0
Subtract 294 from 298 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.

Step 7:
The number 42 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 19867.0
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 8:
42 can be fit into 400 9 times, resulting in a remainder of 22.
Record the quotient 9 as the next digit in the result. 
Result so far: 19867.09
The remainder is 22 after subtracting 378 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 9:
220 divided by 42 is 5 with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 19867.095
If we subtract 210 from 220, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 10:
42 goes into 100 2 times with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 19867.0952
Subtract 84 from 100 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 11:
42 can be fit into 160 3 times, resulting in a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 19867.09523
Subtracting 126 from 160 leaves us with 34.
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 12:
340 divided by 42 is 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 19867.095238
If we take 336 away from 340, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 13:
42 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 19867.095238
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 14:
400 divided by 42 is 9 with a remainder of 22.
The next digit of our result is 9. 
Result so far: 19867.09523809
Deduct 378 from 400 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

In conclusion, the division gives 19867.09523809 with a balance of 2.2e-08.