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

Moving on to step 1:
The number 13 fits into 2 0 times, leaving a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 13

Let's proceed to step 2:
24 divided by 13 is 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 13 from 24, we get 11.
Include the next digit (6) from the dividend after 11, then repeat: 116 / 13

Moving on to step 3:
116 divided by 13 is 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtracting 104 from 116 leaves us with 12.
Take the next digit (7) from the dividend and append it to 12, then repeat: 127 / 13

Let's proceed to step 4:
When dividing 127 by 13, we get 9 with a remainder of 10.
The next digit of our result is 9. 
Result so far: 189.0
If we subtract 117 from 127, we get 10.
Bring next digit (4) of the dividend behind the 10 and repeat the process: 104 / 13

Moving on to step 5:
13 can be fit into 104 8 times, resulting in a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 1898.0
Subtract 104 from 104 to get 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 13

Let's proceed to step 6:
The number 13 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 18980.0
Subtracting 0 from 2 leaves us 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.

Advancing to step 7:
The number 13 fits into 20 1 times, leaving a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 18980.1
If we subtract 13 from 20, we 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.

Going ahead to step 8:
When dividing 70 by 13, we get 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 18980.15
If we subtract 65 from 70, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 9:
When dividing 50 by 13, we get 3 with a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 18980.153
Subtracting 39 from 50 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 10:
110 divided by 13 is 8 with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 18980.1538
The remainder is 6 after subtracting 104 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 11:
60 divided by 13 is 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 18980.15384
If we take 52 away from 60, 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.

Moving on to step 12:
13 goes into 80 6 times with a remainder of 2.
The next digit of our result is 6. 
Result so far: 18980.153846
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.

On to step 13:
13 goes into 20 1 times with a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 18980.1538461
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.

On to step 14:
13 can be fit into 70 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 18980.15384615
Deduct 65 from 70 and we're left 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.

The final outcome is 18980.15384615, with a leftover of 5e-09.