We divide 12713 by 13
The aim is to understand the frequency of 13 in 12713.

Step 1:
The number 13 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 13

Going ahead to step 2:
13 goes into 12 0 times with a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 13

On to step 3:
When dividing 127 by 13, we get 9 with a remainder of 10.
The next digit of our result is 9. 
Result so far: 9.0
If we subtract 117 from 127, we get 10.
Take the next digit (1) from the dividend and append it to 10, then repeat: 101 / 13

Moving on to step 4:
When dividing 101 by 13, we get 7 with a remainder of 10.
Use 7 as the next digit of our solution. 
Result so far: 97.0
Subtract 91 from 101 to get 10.
Grab the next digit (3) from the dividend, add it to 10, then carry on: 103 / 13

Let's proceed to step 5:
When dividing 103 by 13, we get 7 with a remainder of 12.
Record the quotient 7 as the next digit in the result. 
Result so far: 977.0
If we take 91 away from 103, we end up 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.

On to step 6:
13 can be fit into 120 9 times, resulting in a remainder of 3.
The next digit of our result is 9. 
Result so far: 977.9
The remainder is 3 after subtracting 117 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
30 divided by 13 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 977.92
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.

On to step 8:
13 can be fit into 40 3 times, resulting in a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 977.923
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.

Advancing to step 9:
The number 13 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 977.923
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 10:
When dividing 100 by 13, we get 7 with a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 977.92307
If we subtract 91 from 100, we 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.

Moving on to step 11:
13 can be fit into 90 6 times, resulting in a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 977.923076
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 12:
13 can be fit into 120 9 times, resulting in a remainder of 3.
The next digit of our result is 9. 
Result so far: 977.9230769
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.

Step 13:
If we divide 30 by 13, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 977.92307692
If we take 26 away from 30, we end up 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.

The final result is 977.92307692 with a remainder of 4e-09.