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

Going ahead to step 1:
2 divided by 13 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 13

On to step 2:
If we divide 26 by 13, we get 2 and a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 0 after subtracting 26 from 26.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 13

Let's proceed to step 3:
If we divide 7 by 13, we get 0 and a remainder of 7.
The next digit of our result is 0. 
Result so far: 20.0
If we subtract 0 from 7, we get 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 13

Advancing to step 4:
78 divided by 13 is 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 206.0
Subtracting 78 from 78 leaves us with 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 13

Advancing to step 5:
13 goes into 6 0 times with a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 2060.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (1) from the dividend, add it to 6, then carry on: 61 / 13

On to step 6:
When dividing 61 by 13, we get 4 with a remainder of 9.
Write down 4 as next digit of the result. 
Result so far: 20604.0
Subtract 52 from 61 to 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 7:
13 goes into 90 6 times with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 20604.6
Subtracting 78 from 90 leaves us 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.

Moving on to step 8:
When dividing 120 by 13, we get 9 with a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 20604.69
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.

Advancing to step 9:
13 goes into 30 2 times with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 20604.692
If we take 26 away from 30, we end up 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.

Step 10:
13 goes into 40 3 times with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 20604.6923
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.

On to step 11:
The number 13 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 20604.6923
If we subtract 0 from 10, we 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.

Going ahead to step 12:
When dividing 100 by 13, we get 7 with a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 20604.692307
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.

On to step 13:
13 goes into 90 6 times with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 20604.6923076
If we take 78 away from 90, we end up 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.

Moving on to step 14:
The number 13 fits into 120 9 times, leaving a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 20604.69230769
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.

In conclusion, the division gives 20604.69230769 with a balance of 3e-09.