We're dividing 542337 by 13 
The aim is to understand the frequency of 13 in 542337.

Moving on to step 1:
13 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 13

Advancing to step 2:
If we divide 54 by 13, we get 4 and a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtract 52 from 54 to get 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 13

Let's proceed to step 3:
If we divide 22 by 13, we get 1 and a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
If we take 13 away from 22, we end up with 9.
Bring next digit (3) of the dividend behind the 9 and repeat the process: 93 / 13

Moving on to step 4:
If we divide 93 by 13, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 417.0
The remainder is 2 after subtracting 91 from 93.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 13

Let's proceed to step 5:
23 divided by 13 is 1 with a remainder of 10.
Put 1 as the next digit of the answer. 
Result so far: 4171.0
Subtract 13 from 23 to get 10.
Grab the next digit (7) from the dividend, add it to 10, then carry on: 107 / 13

Going ahead to step 6:
13 can be fit into 107 8 times, resulting in a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 41718.0
If we take 104 away from 107, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
30 divided by 13 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 41718.2
Subtracting 26 from 30 leaves us 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 8:
13 goes into 40 3 times with a remainder of 1.
The next digit of our result is 3. 
Result so far: 41718.23
If we subtract 39 from 40, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 9:
10 divided by 13 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 41718.23
Subtract 0 from 10 to 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.

On to step 10:
The number 13 fits into 100 7 times, leaving a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 41718.2307
Subtract 91 from 100 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 11:
13 can be fit into 90 6 times, resulting in a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 41718.23076
Subtracting 78 from 90 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 12:
If we divide 120 by 13, we get 9 and a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 41718.230769
If we subtract 117 from 120, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 13:
30 divided by 13 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 41718.2307692
Deduct 26 from 30 and we're left 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.

Moving on to step 14:
13 can be fit into 40 3 times, resulting in a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 41718.23076923
If we subtract 39 from 40, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final result is 41718.23076923 with a remainder of 1e-09.