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

Step 1:
13 can be fit into 4 0 times, resulting in a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 13

Going ahead to step 2:
13 goes into 41 3 times with a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 39 from 41 to get 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 13

Moving on to step 3:
13 goes into 25 1 times with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
If we take 13 away from 25, we end up with 12.
Include the next digit (2) from the dividend after 12, then repeat: 122 / 13

Let's proceed to step 4:
13 goes into 122 9 times with a remainder of 5.
The next digit of our result is 9. 
Result so far: 319.0
Subtracting 117 from 122 leaves us with 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 13

Step 5:
52 divided by 13 is 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 3194.0
Deduct 52 from 52 and we're left with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 13

Advancing to step 6:
13 goes into 8 0 times with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 31940.0
The remainder is 8 after subtracting 0 from 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
80 divided by 13 is 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 31940.6
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.

Advancing to step 8:
When dividing 20 by 13, we get 1 with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 31940.61
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 9:
13 goes into 70 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 31940.615
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.

On to step 10:
13 goes into 50 3 times with a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 31940.6153
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.

Let's proceed to step 11:
13 can be fit into 110 8 times, resulting in a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 31940.61538
If we take 104 away from 110, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 12:
The number 13 fits into 60 4 times, leaving a remainder of 8.
The next digit of our result is 4. 
Result so far: 31940.615384
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.

Step 13:
13 can be fit into 80 6 times, resulting in a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 31940.6153846
The remainder is 2 after subtracting 78 from 80.
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 14:
13 can be fit into 20 1 times, resulting in a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 31940.61538461
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.

The final outcome is 31940.61538461, with a leftover of 7e-09.