We divide 515462 by 42
The aim is to understand the frequency of 42 in 515462.

Let's proceed to step 1:
42 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 42

Step 2:
The number 42 fits into 51 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 9 after subtracting 42 from 51.
Take the next digit (5) from the dividend and append it to 9, then repeat: 95 / 42

Going ahead to step 3:
42 can be fit into 95 2 times, resulting in a remainder of 11.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Deduct 84 from 95 and we're left with 11.
Append the next digit (4) from the dividend to 11 and continue with: 114 / 42

Step 4:
When dividing 114 by 42, we get 2 with a remainder of 30.
Record the quotient 2 as the next digit in the result. 
Result so far: 122.0
If we take 84 away from 114, we end up with 30.
Include the next digit (6) from the dividend after 30, then repeat: 306 / 42

On to step 5:
If we divide 306 by 42, we get 7 and a remainder of 12.
Use 7 as the next digit of our solution. 
Result so far: 1227.0
If we take 294 away from 306, we end up with 12.
Fetch the next digit (2) from the dividend, attach it to 12 and continue: 122 / 42

On to step 6:
If we divide 122 by 42, we get 2 and a remainder of 38.
Use 2 as the next digit of our solution. 
Result so far: 12272.0
If we take 84 away from 122, we end up with 38.
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 7:
The number 42 fits into 380 9 times, leaving a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 12272.9
Subtracting 378 from 380 leaves us 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.

Going ahead to step 8:
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: 12272.9
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
42 goes into 200 4 times with a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 12272.904
The remainder is 32 after subtracting 168 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 10:
42 goes into 320 7 times with a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 12272.9047
Deduct 294 from 320 and we're left 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.

Going ahead to step 11:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 12272.90476
The remainder is 8 after subtracting 252 from 260.
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 12:
42 goes into 80 1 times with a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 12272.904761
If we subtract 42 from 80, we 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.

Going ahead to step 13:
42 can be fit into 380 9 times, resulting in a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 12272.9047619
Subtracting 378 from 380 leaves us 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.

Advancing to step 14:
20 divided by 42 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 12272.9047619
Deduct 0 from 20 and we're left 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.

After the division, we end up with 12272.9047619 and a remainder of 2e-08.