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

On to step 1:
The number 13 fits into 2 0 times, leaving a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 13

Moving on to step 2:
22 divided by 13 is 1 with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 13 from 22, we get 9.
Include the next digit (3) from the dividend after 9, then repeat: 93 / 13

Going ahead to step 3:
13 goes into 93 7 times with a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
The remainder is 2 after subtracting 91 from 93.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 13

Advancing to step 4:
The number 13 fits into 20 1 times, leaving a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 171.0
Subtract 13 from 20 to get 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 13

Going ahead to step 5:
When dividing 77 by 13, we get 5 with a remainder of 12.
Record the quotient 5 as the next digit in the result. 
Result so far: 1715.0
The remainder is 12 after subtracting 65 from 77.
Fetch the next digit (1) from the dividend, attach it to 12 and continue: 121 / 13

Step 6:
13 can be fit into 121 9 times, resulting in a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 17159.0
Subtract 117 from 121 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.

Let's proceed to step 7:
If we divide 40 by 13, we get 3 and a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 17159.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.

Let's proceed to step 8:
The number 13 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 17159.3
The remainder is 10 after subtracting 0 from 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:
13 can be fit into 100 7 times, resulting in a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 17159.307
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.

Advancing to step 10:
13 can be fit into 90 6 times, resulting in a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 17159.3076
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.

Step 11:
120 divided by 13 is 9 with a remainder of 3.
The next digit of our result is 9. 
Result so far: 17159.30769
Deduct 117 from 120 and we're left 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.

Going ahead to step 12:
13 can be fit into 30 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 17159.307692
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.

Advancing to step 13:
40 divided by 13 is 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 17159.3076923
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.

Step 14:
If we divide 10 by 13, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 17159.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.

Our division results in 17159.3076923 with a remaining 1e-08.