We look at the division of 27718049 by 787 
The aim is to understand the frequency of 787 in 27718049.

Going ahead to step 1:
787 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 787

On to step 2:
787 can be fit into 27 0 times, resulting in a remainder of 27.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 27, we end up with 27.
Grab the next digit (7) from the dividend, add it to 27, then carry on: 277 / 787

Advancing to step 3:
The number 787 fits into 277 0 times, leaving a remainder of 277.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 277 and we're left with 277.
Fetch the next digit (1) from the dividend, attach it to 277 and continue: 2771 / 787

Going ahead to step 4:
787 can be fit into 2771 3 times, resulting in a remainder of 410.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
The remainder is 410 after subtracting 2361 from 2771.
Append the next digit (8) from the dividend to 410 and continue with: 4108 / 787

Going ahead to step 5:
787 goes into 4108 5 times with a remainder of 173.
Write down 5 as next digit of the result. 
Result so far: 35.0
If we take 3935 away from 4108, we end up with 173.
Fetch the next digit (0) from the dividend, attach it to 173 and continue: 1730 / 787

Moving on to step 6:
787 can be fit into 1730 2 times, resulting in a remainder of 156.
Use 2 as the next digit of our solution. 
Result so far: 352.0
The remainder is 156 after subtracting 1574 from 1730.
Take the next digit (4) from the dividend and append it to 156, then repeat: 1564 / 787

On to step 7:
787 can be fit into 1564 1 times, resulting in a remainder of 777.
Record the quotient 1 as the next digit in the result. 
Result so far: 3521.0
If we subtract 787 from 1564, we get 777.
Take the next digit (9) from the dividend and append it to 777, then repeat: 7779 / 787

Going ahead to step 8:
787 goes into 7779 9 times with a remainder of 696.
Write down 9 as next digit of the result. 
Result so far: 35219.0
Deduct 7083 from 7779 and we're left with 696.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6960, and continue the process.

Moving on to step 9:
The number 787 fits into 6960 8 times, leaving a remainder of 664.
Put 8 as the next digit of the answer. 
Result so far: 35219.8
If we take 6296 away from 6960, we end up with 664.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6640, and continue the process.

On to step 10:
6640 divided by 787 is 8 with a remainder of 344.
The next digit of our result is 8. 
Result so far: 35219.88
Subtract 6296 from 6640 to get 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

After the division, we end up with 35219.88 and a remainder of 0.344.