413089 divided by 13 
The aim is to understand the frequency of 13 in 413089.

Going ahead to step 1:
The number 13 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 13

Step 2:
41 divided by 13 is 3 with a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 39 from 41, we get 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 13

Let's proceed to step 3:
13 can be fit into 23 1 times, resulting in a remainder of 10.
Put 1 as the next digit of the answer. 
Result so far: 31.0
Deduct 13 from 23 and we're left with 10.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 13

Advancing to step 4:
13 goes into 100 7 times with a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 317.0
If we subtract 91 from 100, we get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 13

Let's proceed to step 5:
13 goes into 98 7 times with a remainder of 7.
The next digit of our result is 7. 
Result so far: 3177.0
If we take 91 away from 98, we end up with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 13

Let's proceed to step 6:
13 can be fit into 79 6 times, resulting in a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 31776.0
If we take 78 away from 79, 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.

Let's proceed to step 7:
13 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 31776.0
Subtract 0 from 10 to 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.

Going ahead to step 8:
When dividing 100 by 13, we get 7 with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 31776.07
If we take 91 away from 100, we end up with 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 9:
13 goes into 90 6 times with a remainder of 12.
The next digit of our result is 6. 
Result so far: 31776.076
Deduct 78 from 90 and we're left 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.

Let's proceed to step 10:
13 can be fit into 120 9 times, resulting in a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 31776.0769
If we subtract 117 from 120, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 11:
13 can be fit into 30 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 31776.07692
Deduct 26 from 30 and we're left 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.

Moving on to step 12:
13 can be fit into 40 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 31776.076923
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.

On to step 13:
The number 13 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 31776.076923
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.

Advancing to step 14:
If we divide 100 by 13, we get 7 and a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 31776.07692307
Subtract 91 from 100 to 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.

Our division results in 31776.07692307 with a remaining 9e-09.