We look at the division of 185365 by 13 
The aim is to understand the frequency of 13 in 185365.

On to step 1:
The number 13 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 13

On to step 2:
18 divided by 13 is 1 with a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 13 away from 18, we end up with 5.
Fetch the next digit (5) from the dividend, attach it to 5 and continue: 55 / 13

Moving on to step 3:
If we divide 55 by 13, we get 4 and a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 14.0
The remainder is 3 after subtracting 52 from 55.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 13

Step 4:
When dividing 33 by 13, we get 2 with a remainder of 7.
The next digit of our result is 2. 
Result so far: 142.0
Subtract 26 from 33 to get 7.
Bring next digit (6) of the dividend behind the 7 and repeat the process: 76 / 13

Going ahead to step 5:
If we divide 76 by 13, we get 5 and a remainder of 11.
Record the quotient 5 as the next digit in the result. 
Result so far: 1425.0
Subtract 65 from 76 to get 11.
Append the next digit (5) from the dividend to 11 and continue with: 115 / 13

Going ahead to step 6:
The number 13 fits into 115 8 times, leaving a remainder of 11.
Write down 8 as next digit of the result. 
Result so far: 14258.0
If we subtract 104 from 115, we 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.

Step 7:
13 can be fit into 110 8 times, resulting in a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 14258.8
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.

Step 8:
If we divide 60 by 13, we get 4 and a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 14258.84
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.

On to step 9:
13 goes into 80 6 times with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 14258.846
If we take 78 away from 80, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
13 goes into 20 1 times with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 14258.8461
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.

Advancing to step 11:
If we divide 70 by 13, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 14258.84615
If we take 65 away from 70, we end up 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 12:
If we divide 50 by 13, we get 3 and a remainder of 11.
Put 3 as the next digit of the answer. 
Result so far: 14258.846153
If we subtract 39 from 50, we 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.

Going ahead to step 13:
The number 13 fits into 110 8 times, leaving a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 14258.8461538
The remainder is 6 after subtracting 104 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 14:
The number 13 fits into 60 4 times, leaving a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 14258.84615384
If we subtract 52 from 60, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 14258.84615384 and a remainder of 8e-09.