We're dividing 50167218 by 765 
The aim is to understand the frequency of 765 in 50167218.

Advancing to step 1:
If we divide 5 by 765, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 765

On to step 2:
When dividing 50 by 765, we get 0 with a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Take the next digit (1) from the dividend and append it to 50, then repeat: 501 / 765

On to step 3:
765 goes into 501 0 times with a remainder of 501.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 501, we end up with 501.
Include the next digit (6) from the dividend after 501, then repeat: 5016 / 765

Advancing to step 4:
765 can be fit into 5016 6 times, resulting in a remainder of 426.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 4590 from 5016 and we're left with 426.
Append the next digit (7) from the dividend to 426 and continue with: 4267 / 765

Step 5:
When dividing 4267 by 765, we get 5 with a remainder of 442.
Record the quotient 5 as the next digit in the result. 
Result so far: 65.0
If we take 3825 away from 4267, we end up with 442.
Bring next digit (2) of the dividend behind the 442 and repeat the process: 4422 / 765

Let's proceed to step 6:
If we divide 4422 by 765, we get 5 and a remainder of 597.
Record the quotient 5 as the next digit in the result. 
Result so far: 655.0
If we take 3825 away from 4422, we end up with 597.
Bring next digit (1) of the dividend behind the 597 and repeat the process: 5971 / 765

Advancing to step 7:
765 goes into 5971 7 times with a remainder of 616.
Record the quotient 7 as the next digit in the result. 
Result so far: 6557.0
The remainder is 616 after subtracting 5355 from 5971.
Append the next digit (8) from the dividend to 616 and continue with: 6168 / 765

Let's proceed to step 8:
If we divide 6168 by 765, we get 8 and a remainder of 48.
Use 8 as the next digit of our solution. 
Result so far: 65578.0
Deduct 6120 from 6168 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Let's proceed to step 9:
The number 765 fits into 480 0 times, leaving a remainder of 480.
Write down 0 as next digit of the result. 
Result so far: 65578.0
The remainder is 480 after subtracting 0 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

On to step 10:
When dividing 4800 by 765, we get 6 with a remainder of 210.
The number 6 becomes the next digit in our result. 
Result so far: 65578.06
The remainder is 210 after subtracting 4590 from 4800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

On to step 11:
765 goes into 2100 2 times with a remainder of 570.
Write down 2 as next digit of the result. 
Result so far: 65578.062
Deduct 1530 from 2100 and we're left with 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

Let's proceed to step 12:
765 goes into 5700 7 times with a remainder of 345.
Write down 7 as next digit of the result. 
Result so far: 65578.0627
Subtracting 5355 from 5700 leaves us with 345.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

Advancing to step 13:
The number 765 fits into 3450 4 times, leaving a remainder of 390.
Put 4 as the next digit of the answer. 
Result so far: 65578.06274
If we take 3060 away from 3450, we end up with 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

Step 14:
If we divide 3900 by 765, we get 5 and a remainder of 75.
The next digit of our result is 5. 
Result so far: 65578.062745
Subtracting 3825 from 3900 leaves us with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Moving on to step 15:
765 can be fit into 750 0 times, resulting in a remainder of 750.
Put 0 as the next digit of the answer. 
Result so far: 65578.062745
Deduct 0 from 750 and we're left with 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7500, and continue the process.

Going ahead to step 16:
765 can be fit into 7500 9 times, resulting in a remainder of 615.
Put 9 as the next digit of the answer. 
Result so far: 65578.06274509
The remainder is 615 after subtracting 6885 from 7500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6150, and continue the process.

After the division, we end up with 65578.06274509 and a remainder of 6.15e-07.