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

Advancing to step 1:
If we divide 4 by 42, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (6) from the dividend to 4 and continue with: 46 / 42

On to step 2:
When dividing 46 by 42, we get 1 with a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 42 away from 46, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 42

Moving on to step 3:
42 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtracting 0 from 40 leaves us with 40.
Take the next digit (5) from the dividend and append it to 40, then repeat: 405 / 42

Going ahead to step 4:
405 divided by 42 is 9 with a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 109.0
If we take 378 away from 405, we end up with 27.
Append the next digit (1) from the dividend to 27 and continue with: 271 / 42

Advancing to step 5:
42 can be fit into 271 6 times, resulting in a remainder of 19.
The next digit of our result is 6. 
Result so far: 1096.0
The remainder is 19 after subtracting 252 from 271.
Take the next digit (1) from the dividend and append it to 19, then repeat: 191 / 42

Moving on to step 6:
42 goes into 191 4 times with a remainder of 23.
Put 4 as the next digit of the answer. 
Result so far: 10964.0
Subtracting 168 from 191 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 7:
42 can be fit into 230 5 times, resulting in a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 10964.5
The remainder is 20 after subtracting 210 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
If we divide 200 by 42, we get 4 and a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 10964.54
Deduct 168 from 200 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 9:
The number 42 fits into 320 7 times, leaving a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 10964.547
If we take 294 away from 320, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 10:
42 can be fit into 260 6 times, resulting in a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 10964.5476
Subtracting 252 from 260 leaves us 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.

Advancing to step 11:
When dividing 80 by 42, we get 1 with a remainder of 38.
The next digit of our result is 1. 
Result so far: 10964.54761
The remainder is 38 after subtracting 42 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 12:
42 can be fit into 380 9 times, resulting in a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 10964.547619
Deduct 378 from 380 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 13:
If we divide 20 by 42, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 10964.547619
Subtracting 0 from 20 leaves us 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.

On to step 14:
When dividing 200 by 42, we get 4 with a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 10964.54761904
If we take 168 away from 200, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final outcome is 10964.54761904, with a leftover of 3.2e-08.