We look at the division of 316789 by 26 
The aim is to understand the frequency of 26 in 316789.

Step 1:
The number 26 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 26

Going ahead to step 2:
26 goes into 31 1 times with a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 26 from 31 to get 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 26

Going ahead to step 3:
26 can be fit into 56 2 times, resulting in a remainder of 4.
The next digit of our result is 2. 
Result so far: 12.0
Subtract 52 from 56 to get 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 26

Advancing to step 4:
26 can be fit into 47 1 times, resulting in a remainder of 21.
Record the quotient 1 as the next digit in the result. 
Result so far: 121.0
Subtracting 26 from 47 leaves us with 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 26

Let's proceed to step 5:
When dividing 218 by 26, we get 8 with a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 1218.0
If we subtract 208 from 218, we get 10.
Include the next digit (9) from the dividend after 10, then repeat: 109 / 26

Going ahead to step 6:
When dividing 109 by 26, we get 4 with a remainder of 5.
Write down 4 as next digit of the result. 
Result so far: 12184.0
If we subtract 104 from 109, 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.

On to step 7:
26 can be fit into 50 1 times, resulting in a remainder of 24.
Record the quotient 1 as the next digit in the result. 
Result so far: 12184.1
If we take 26 away from 50, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 8:
If we divide 240 by 26, we get 9 and a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 12184.19
If we take 234 away from 240, we end up 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.

Moving on to step 9:
If we divide 60 by 26, we get 2 and a remainder of 8.
The next digit of our result is 2. 
Result so far: 12184.192
Subtract 52 from 60 to 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.

Advancing to step 10:
80 divided by 26 is 3 with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 12184.1923
Deduct 78 from 80 and we're left 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 11:
26 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 12184.1923
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 12:
200 divided by 26 is 7 with a remainder of 18.
The next digit of our result is 7. 
Result so far: 12184.192307
If we subtract 182 from 200, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 13:
26 can be fit into 180 6 times, resulting in a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 12184.1923076
If we take 156 away from 180, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 14:
240 divided by 26 is 9 with a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 12184.19230769
Subtract 234 from 240 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 12184.19230769 with a remainder of 6e-09.