Let's divide 781879 by 27
The aim is to understand the frequency of 27 in 781879.

Step 1:
When dividing 7 by 27, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 27

Let's proceed to step 2:
If we divide 78 by 27, we get 2 and a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 54 from 78 and we're left with 24.
Bring next digit (1) of the dividend behind the 24 and repeat the process: 241 / 27

Let's proceed to step 3:
When dividing 241 by 27, we get 8 with a remainder of 25.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
If we take 216 away from 241, we end up with 25.
Grab the next digit (8) from the dividend, add it to 25, then carry on: 258 / 27

Advancing to step 4:
27 goes into 258 9 times with a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 289.0
If we subtract 243 from 258, we get 15.
Bring next digit (7) of the dividend behind the 15 and repeat the process: 157 / 27

Step 5:
If we divide 157 by 27, we get 5 and a remainder of 22.
Use 5 as the next digit of our solution. 
Result so far: 2895.0
If we take 135 away from 157, we end up with 22.
Append the next digit (9) from the dividend to 22 and continue with: 229 / 27

On to step 6:
27 can be fit into 229 8 times, resulting in a remainder of 13.
The next digit of our result is 8. 
Result so far: 28958.0
Deduct 216 from 229 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
130 divided by 27 is 4 with a remainder of 22.
The next digit of our result is 4. 
Result so far: 28958.4
Subtract 108 from 130 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
27 can be fit into 220 8 times, resulting in a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 28958.48
Subtract 216 from 220 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.

On to step 9:
When dividing 40 by 27, we get 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 28958.481
Subtracting 27 from 40 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 10:
When dividing 130 by 27, we get 4 with a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 28958.4814
If we take 108 away from 130, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 11:
220 divided by 27 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 28958.48148
Subtracting 216 from 220 leaves us 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.

On to step 12:
27 can be fit into 40 1 times, resulting in a remainder of 13.
The next digit of our result is 1. 
Result so far: 28958.481481
If we take 27 away from 40, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 13:
When dividing 130 by 27, we get 4 with a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 28958.4814814
Deduct 108 from 130 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 14:
The number 27 fits into 220 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 28958.48148148
Subtract 216 from 220 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.

The quotient of the division is 28958.48148148, and the remainder is 4e-09.