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

Moving on to step 1:
When dividing 9 by 13, we get 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 13

Step 2:
If we divide 94 by 13, we get 7 and a remainder of 3.
The next digit of our result is 7. 
Result so far: 7.0
Subtract 91 from 94 to get 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 13

Step 3:
13 goes into 30 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 72.0
Subtract 26 from 30 to get 4.
Grab the next digit (4) from the dividend, add it to 4, then carry on: 44 / 13

Advancing to step 4:
13 goes into 44 3 times with a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 723.0
Subtract 39 from 44 to get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 13

On to step 5:
13 can be fit into 50 3 times, resulting in a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 7233.0
Subtract 39 from 50 to get 11.
Append the next digit (4) from the dividend to 11 and continue with: 114 / 13

Step 6:
If we divide 114 by 13, we get 8 and a remainder of 10.
Record the quotient 8 as the next digit in the result. 
Result so far: 72338.0
Deduct 104 from 114 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.

Let's proceed to step 7:
100 divided by 13 is 7 with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 72338.7
Subtracting 91 from 100 leaves us 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 8:
When dividing 90 by 13, we get 6 with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 72338.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.

Let's proceed to step 9:
120 divided by 13 is 9 with a remainder of 3.
The next digit of our result is 9. 
Result so far: 72338.769
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.

Moving on to step 10:
If we divide 30 by 13, we get 2 and a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 72338.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.

Moving on to 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: 72338.76923
Subtracting 39 from 40 leaves us 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.

Going ahead to step 12:
13 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 72338.76923
If we take 0 away from 10, we end up 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.

Advancing to step 13:
When dividing 100 by 13, we get 7 with a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 72338.7692307
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.

Step 14:
When dividing 90 by 13, we get 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 72338.76923076
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.

The final outcome is 72338.76923076, with a leftover of 1.2e-08.