We look at the division of 522738 by 13 
The aim is to understand the frequency of 13 in 522738.

Advancing to step 1:
When dividing 5 by 13, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (2) from the dividend, attach it to 5 and continue: 52 / 13

On to step 2:
13 can be fit into 52 4 times, resulting in a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtract 52 from 52 to get 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 13

Let's proceed to step 3:
When dividing 2 by 13, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Subtract 0 from 2 to get 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 13

Going ahead to step 4:
13 can be fit into 27 2 times, resulting in a remainder of 1.
The next digit of our result is 2. 
Result so far: 402.0
Subtracting 26 from 27 leaves us with 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 13

Going ahead to step 5:
The number 13 fits into 13 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 4021.0
Subtract 13 from 13 to get 0.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 13

Moving on to step 6:
When dividing 8 by 13, we get 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 40210.0
If we take 0 away from 8, we end up 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.

Let's proceed to step 7:
If we divide 80 by 13, we get 6 and a remainder of 2.
The next digit of our result is 6. 
Result so far: 40210.6
If we subtract 78 from 80, we get 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 8:
20 divided by 13 is 1 with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 40210.61
Subtracting 13 from 20 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 9:
13 goes into 70 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 40210.615
If we take 65 away from 70, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 10:
The number 13 fits into 50 3 times, leaving a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 40210.6153
If we subtract 39 from 50, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 11:
If we divide 110 by 13, we get 8 and a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 40210.61538
Deduct 104 from 110 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 12:
When dividing 60 by 13, we get 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 40210.615384
Subtract 52 from 60 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 13:
If we divide 80 by 13, we get 6 and a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 40210.6153846
If we take 78 away from 80, we end up 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.

Moving on to step 14:
The number 13 fits into 20 1 times, leaving a remainder of 7.
The next digit of our result is 1. 
Result so far: 40210.61538461
Subtract 13 from 20 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

In conclusion, the division gives 40210.61538461 with a balance of 7e-09.