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

Step 1:
If we divide 6 by 13, we get 0 and a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Include the next digit (6) from the dividend after 6, then repeat: 66 / 13

Step 2:
If we divide 66 by 13, we get 5 and a remainder of 1.
The next digit of our result is 5. 
Result so far: 5.0
Subtract 65 from 66 to get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 13

Step 3:
If we divide 12 by 13, we get 0 and a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
If we subtract 0 from 12, we get 12.
Include the next digit (1) from the dividend after 12, then repeat: 121 / 13

Moving on to step 4:
If we divide 121 by 13, we get 9 and a remainder of 4.
The next digit of our result is 9. 
Result so far: 509.0
If we take 117 away from 121, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 13

Step 5:
13 goes into 40 3 times with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 5093.0
If we take 39 away from 40, we end up with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 13

Going ahead to step 6:
The number 13 fits into 16 1 times, leaving a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 50931.0
Subtract 13 from 16 to 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.

Let's proceed to step 7:
When dividing 30 by 13, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 50931.2
Subtracting 26 from 30 leaves us 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.

Going ahead to step 8:
13 goes into 40 3 times with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 50931.23
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.

Moving on to step 9:
10 divided by 13 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 50931.23
Subtracting 0 from 10 leaves us 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 10:
When dividing 100 by 13, we get 7 with a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 50931.2307
The remainder is 9 after subtracting 91 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 11:
If we divide 90 by 13, we get 6 and a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 50931.23076
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.

Going ahead to step 12:
When dividing 120 by 13, we get 9 with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 50931.230769
Subtracting 117 from 120 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 13:
13 can be fit into 30 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 50931.2307692
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.

Advancing to step 14:
When dividing 40 by 13, we get 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 50931.23076923
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.

Our division results in 50931.23076923 with a remaining 1e-09.