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

Step 1:
If we divide 3 by 13, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 13

Going ahead to step 2:
When dividing 35 by 13, we get 2 with a remainder of 9.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 26 away from 35, we end up with 9.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 13

Advancing to step 3:
94 divided by 13 is 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 27.0
If we take 91 away from 94, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 13

On to step 4:
When dividing 31 by 13, we get 2 with a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 272.0
If we take 26 away from 31, we end up with 5.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 13

Going ahead to step 5:
13 goes into 56 4 times with a remainder of 4.
The next digit of our result is 4. 
Result so far: 2724.0
Subtracting 52 from 56 leaves us with 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 13

Going ahead to step 6:
13 can be fit into 44 3 times, resulting in a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 27243.0
Deduct 39 from 44 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
50 divided by 13 is 3 with a remainder of 11.
The next digit of our result is 3. 
Result so far: 27243.3
Subtract 39 from 50 to 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.

Let's proceed to step 8:
The number 13 fits into 110 8 times, leaving a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 27243.38
Deduct 104 from 110 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 9:
60 divided by 13 is 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 27243.384
If we take 52 away from 60, we end up with 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 10:
13 can be fit into 80 6 times, resulting in a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 27243.3846
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.

Advancing to step 11:
If we divide 20 by 13, we get 1 and a remainder of 7.
The next digit of our result is 1. 
Result so far: 27243.38461
The remainder is 7 after subtracting 13 from 20.
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 12:
70 divided by 13 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 27243.384615
If we subtract 65 from 70, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 13:
If we divide 50 by 13, we get 3 and a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 27243.3846153
The remainder is 11 after subtracting 39 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 14:
When dividing 110 by 13, we get 8 with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 27243.38461538
Subtract 104 from 110 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 27243.38461538 with a remainder of 6e-09.