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

Advancing to step 1:
The number 42 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 42

Step 2:
When dividing 52 by 42, we get 1 with a remainder of 10.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 42 from 52 leaves us with 10.
Append the next digit (1) from the dividend to 10 and continue with: 101 / 42

Going ahead to step 3:
42 goes into 101 2 times with a remainder of 17.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we subtract 84 from 101, we get 17.
Fetch the next digit (1) from the dividend, attach it to 17 and continue: 171 / 42

Going ahead to step 4:
When dividing 171 by 42, we get 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 124.0
Subtract 168 from 171 to get 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 42

Step 5:
34 divided by 42 is 0 with a remainder of 34.
Record the quotient 0 as the next digit in the result. 
Result so far: 1240.0
The remainder is 34 after subtracting 0 from 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 6:
42 goes into 340 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 1240.8
If we subtract 336 from 340, we 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: 1240.8
Subtracting 0 from 40 leaves us 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.

Going ahead to step 8:
42 goes into 400 9 times with a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 1240.809
If we take 378 away from 400, we end up 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.

Going ahead to step 9:
The number 42 fits into 220 5 times, leaving a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 1240.8095
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.

Step 10:
The number 42 fits into 100 2 times, leaving a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 1240.80952
Subtracting 84 from 100 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 11:
42 can be fit into 160 3 times, resulting in a remainder of 34.
Put 3 as the next digit of the answer. 
Result so far: 1240.809523
Deduct 126 from 160 and we're left 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.

On to step 12:
42 goes into 340 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 1240.8095238
If we subtract 336 from 340, we 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.

Advancing to step 13:
When dividing 40 by 42, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 1240.8095238
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.

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