18939786 divided by 767 
The aim is to understand the frequency of 767 in 18939786.

Step 1:
767 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 767

Step 2:
18 divided by 767 is 0 with a remainder of 18.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 18, we get 18.
Append the next digit (9) from the dividend to 18 and continue with: 189 / 767

Step 3:
767 goes into 189 0 times with a remainder of 189.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 189 to get 189.
Take the next digit (3) from the dividend and append it to 189, then repeat: 1893 / 767

On to step 4:
The number 767 fits into 1893 2 times, leaving a remainder of 359.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 1534 from 1893 to get 359.
Grab the next digit (9) from the dividend, add it to 359, then carry on: 3599 / 767

Step 5:
767 goes into 3599 4 times with a remainder of 531.
Write down 4 as next digit of the result. 
Result so far: 24.0
Subtract 3068 from 3599 to get 531.
Fetch the next digit (7) from the dividend, attach it to 531 and continue: 5317 / 767

Step 6:
5317 divided by 767 is 6 with a remainder of 715.
Use 6 as the next digit of our solution. 
Result so far: 246.0
If we subtract 4602 from 5317, we get 715.
Take the next digit (8) from the dividend and append it to 715, then repeat: 7158 / 767

Advancing to step 7:
767 can be fit into 7158 9 times, resulting in a remainder of 255.
Put 9 as the next digit of the answer. 
Result so far: 2469.0
If we take 6903 away from 7158, we end up with 255.
Bring next digit (6) of the dividend behind the 255 and repeat the process: 2556 / 767

Let's proceed to step 8:
767 can be fit into 2556 3 times, resulting in a remainder of 255.
The number 3 becomes the next digit in our result. 
Result so far: 24693.0
Subtracting 2301 from 2556 leaves us with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Moving on to step 9:
If we divide 2550 by 767, we get 3 and a remainder of 249.
Put 3 as the next digit of the answer. 
Result so far: 24693.3
If we take 2301 away from 2550, we end up with 249.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2490, and continue the process.

Advancing to step 10:
When dividing 2490 by 767, we get 3 with a remainder of 189.
The next digit of our result is 3. 
Result so far: 24693.33
If we take 2301 away from 2490, we end up with 189.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1890, and continue the process.

The final outcome is 24693.33, with a leftover of 0.189.