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

On to step 1:
13 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 13

Step 2:
The number 13 fits into 32 2 times, leaving a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 6 after subtracting 26 from 32.
Fetch the next digit (2) from the dividend, attach it to 6 and continue: 62 / 13

Step 3:
When dividing 62 by 13, we get 4 with a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
Subtract 52 from 62 to get 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 13

Going ahead to step 4:
The number 13 fits into 101 7 times, leaving a remainder of 10.
Write down 7 as next digit of the result. 
Result so far: 247.0
Deduct 91 from 101 and we're left with 10.
Append the next digit (0) from the dividend to 10 and continue with: 100 / 13

Moving on to step 5:
When dividing 100 by 13, we get 7 with a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 2477.0
Deduct 91 from 100 and we're left with 9.
Append the next digit (1) from the dividend to 9 and continue with: 91 / 13

Moving on to step 6:
If we divide 91 by 13, we get 7 and a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 24777.0
Subtract 91 from 91 to get 0.
Grab the next digit (3) from the dividend, add it to 0, then carry on: 3 / 13

Going ahead to step 7:
13 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 247770.0
If we subtract 0 from 3, 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.

Let's proceed to step 8:
30 divided by 13 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 247770.2
Subtract 26 from 30 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.

Moving on to step 9:
40 divided by 13 is 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 247770.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.

Let's proceed to step 10:
13 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 247770.23
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.

On to step 11:
13 goes into 100 7 times with a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 247770.2307
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.

Going ahead to step 12:
13 can be fit into 90 6 times, resulting in a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 247770.23076
Subtract 78 from 90 to get 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 13:
The number 13 fits into 120 9 times, leaving a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 247770.230769
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.

On to step 14:
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: 247770.2307692
Subtract 26 from 30 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.

Advancing to step 15:
The number 13 fits into 40 3 times, leaving a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 247770.23076923
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.

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