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

On to step 1:
If we divide 4 by 13, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 13

Advancing to step 2:
The number 13 fits into 41 3 times, leaving a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 39 from 41 leaves us with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 13

Advancing to step 3:
The number 13 fits into 26 2 times, leaving a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 32.0
Deduct 26 from 26 and we're left with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 13

Let's proceed to step 4:
2 divided by 13 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 320.0
Subtract 0 from 2 to get 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 13

Going ahead to step 5:
13 can be fit into 22 1 times, resulting in a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 3201.0
If we take 13 away from 22, we end up with 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 13

Going ahead to step 6:
When dividing 99 by 13, we get 7 with a remainder of 8.
Use 7 as the next digit of our solution. 
Result so far: 32017.0
Subtract 91 from 99 to get 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 7:
The number 13 fits into 80 6 times, leaving a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 32017.6
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 8:
13 can be fit into 20 1 times, resulting in a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 32017.61
If we take 13 away from 20, we end up with 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 9:
13 goes into 70 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 32017.615
The remainder is 5 after subtracting 65 from 70.
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 10:
13 can be fit into 50 3 times, resulting in a remainder of 11.
The next digit of our result is 3. 
Result so far: 32017.6153
If we subtract 39 from 50, we get 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 11:
13 can be fit into 110 8 times, resulting in a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 32017.61538
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.

Let's proceed to step 12:
The number 13 fits into 60 4 times, leaving a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 32017.615384
If we subtract 52 from 60, we get 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 13:
When dividing 80 by 13, we get 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 32017.6153846
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.

Going ahead to step 14:
20 divided by 13 is 1 with a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 32017.61538461
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.

The final result is 32017.61538461 with a remainder of 7e-09.