Let's divide 138499 by 13
The aim is to understand the frequency of 13 in 138499.

Going ahead to step 1:
13 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 13

On to step 2:
13 can be fit into 13 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 13 away from 13, we end up with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 13

Advancing to step 3:
13 can be fit into 8 0 times, resulting in a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (4) from the dividend, add it to 8, then carry on: 84 / 13

On to step 4:
13 goes into 84 6 times with a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 106.0
Subtract 78 from 84 to get 6.
Grab the next digit (9) from the dividend, add it to 6, then carry on: 69 / 13

Going ahead to step 5:
69 divided by 13 is 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 1065.0
If we take 65 away from 69, we end up with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 13

Let's proceed to step 6:
The number 13 fits into 49 3 times, leaving a remainder of 10.
The next digit of our result is 3. 
Result so far: 10653.0
If we subtract 39 from 49, 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.

Let's proceed to step 7:
13 can be fit into 100 7 times, resulting in a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 10653.7
The remainder is 9 after subtracting 91 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 8:
When dividing 90 by 13, we get 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 10653.76
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.

Step 9:
13 can be fit into 120 9 times, resulting in a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 10653.769
If we take 117 away from 120, 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 10:
13 goes into 30 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 10653.7692
The remainder is 4 after subtracting 26 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 11:
When dividing 40 by 13, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 10653.76923
If we take 39 away from 40, we end up with 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 12:
The number 13 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 10653.76923
Deduct 0 from 10 and we're left with 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 13:
13 goes into 100 7 times with a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 10653.7692307
The remainder is 9 after subtracting 91 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 14:
When dividing 90 by 13, we get 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 10653.76923076
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.

The final result is 10653.76923076 with a remainder of 1.2e-08.