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

Let's proceed to step 1:
When dividing 3 by 13, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 13

Let's proceed to step 2:
38 divided by 13 is 2 with a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 26 from 38 to get 12.
Fetch the next digit (9) from the dividend, attach it to 12 and continue: 129 / 13

Advancing to step 3:
If we divide 129 by 13, we get 9 and a remainder of 12.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
Subtracting 117 from 129 leaves us with 12.
Include the next digit (8) from the dividend after 12, then repeat: 128 / 13

Step 4:
If we divide 128 by 13, we get 9 and a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 299.0
If we subtract 117 from 128, we get 11.
Append the next digit (6) from the dividend to 11 and continue with: 116 / 13

Going ahead to step 5:
If we divide 116 by 13, we get 8 and a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 2998.0
Subtract 104 from 116 to get 12.
Bring next digit (3) of the dividend behind the 12 and repeat the process: 123 / 13

Advancing to step 6:
If we divide 123 by 13, we get 9 and a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 29989.0
The remainder is 6 after subtracting 117 from 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 7:
The number 13 fits into 60 4 times, leaving a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 29989.4
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 8:
When dividing 80 by 13, we get 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 29989.46
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.

Step 9:
13 goes into 20 1 times with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 29989.461
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.

Let's proceed to step 10:
The number 13 fits into 70 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 29989.4615
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.

Let's proceed to step 11:
50 divided by 13 is 3 with a remainder of 11.
The next digit of our result is 3. 
Result so far: 29989.46153
The remainder is 11 after subtracting 39 from 50.
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 12:
The number 13 fits into 110 8 times, leaving a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 29989.461538
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.

On to step 13:
If we divide 60 by 13, we get 4 and a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 29989.4615384
Deduct 52 from 60 and we're left 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.

Advancing to step 14:
13 can be fit into 80 6 times, resulting in a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 29989.46153846
Subtract 78 from 80 to 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.

The quotient of the division is 29989.46153846, and the remainder is 2e-09.