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

Step 1:
The number 13 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 13

Going ahead to step 2:
When dividing 50 by 13, we get 3 with a remainder of 11.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 39 from 50 to get 11.
Grab the next digit (8) from the dividend, add it to 11, then carry on: 118 / 13

Step 3:
If we divide 118 by 13, we get 9 and a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 39.0
If we take 117 away from 118, we end up with 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 13

Step 4:
The number 13 fits into 14 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 391.0
If we subtract 13 from 14, we get 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 13

Going ahead to step 5:
The number 13 fits into 14 1 times, leaving a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 3911.0
Subtracting 13 from 14 leaves us with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 13

Step 6:
13 can be fit into 17 1 times, resulting in a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 39111.0
Subtract 13 from 17 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
When dividing 40 by 13, we get 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 39111.3
Subtract 39 from 40 to 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.

Advancing to step 8:
If we divide 10 by 13, we get 0 and a remainder of 10.
The next digit of our result is 0. 
Result so far: 39111.3
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.

Let's proceed to step 9:
The number 13 fits into 100 7 times, leaving a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 39111.307
If we subtract 91 from 100, we 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.

Let's proceed to step 10:
90 divided by 13 is 6 with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 39111.3076
If we take 78 away from 90, we end up 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 11:
120 divided by 13 is 9 with a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 39111.30769
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 12:
If we divide 30 by 13, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 39111.307692
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.

Let's proceed to step 13:
40 divided by 13 is 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 39111.3076923
If we take 39 away from 40, 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.

Going ahead to step 14:
If we divide 10 by 13, we get 0 and a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 39111.3076923
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.

The final result is 39111.3076923 with a remainder of 1e-08.