50645 ÷ 78 
The aim is to understand the frequency of 78 in 50645.

Moving on to step 1:
If we divide 5 by 78, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 78

Let's proceed to step 2:
If we divide 50 by 78, we get 0 and a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Include the next digit (6) from the dividend after 50, then repeat: 506 / 78

Moving on to step 3:
When dividing 506 by 78, we get 6 with a remainder of 38.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtracting 468 from 506 leaves us with 38.
Fetch the next digit (4) from the dividend, attach it to 38 and continue: 384 / 78

On to step 4:
78 goes into 384 4 times with a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 64.0
Subtract 312 from 384 to get 72.
Grab the next digit (5) from the dividend, add it to 72, then carry on: 725 / 78

Advancing to step 5:
725 divided by 78 is 9 with a remainder of 23.
The number 9 becomes the next digit in our result. 
Result so far: 649.0
Deduct 702 from 725 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 6:
When dividing 230 by 78, we get 2 with a remainder of 74.
Use 2 as the next digit of our solution. 
Result so far: 649.2
The remainder is 74 after subtracting 156 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Advancing to step 7:
When dividing 740 by 78, we get 9 with a remainder of 38.
Record the quotient 9 as the next digit in the result. 
Result so far: 649.29
Deduct 702 from 740 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 8:
The number 78 fits into 380 4 times, leaving a remainder of 68.
The next digit of our result is 4. 
Result so far: 649.294
If we take 312 away from 380, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Step 9:
The number 78 fits into 680 8 times, leaving a remainder of 56.
Put 8 as the next digit of the answer. 
Result so far: 649.2948
The remainder is 56 after subtracting 624 from 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 10:
560 divided by 78 is 7 with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 649.29487
If we take 546 away from 560, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 11:
78 can be fit into 140 1 times, resulting in a remainder of 62.
Write down 1 as next digit of the result. 
Result so far: 649.294871
Subtract 78 from 140 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Let's proceed to step 12:
620 divided by 78 is 7 with a remainder of 74.
Record the quotient 7 as the next digit in the result. 
Result so far: 649.2948717
Subtract 546 from 620 to get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 13:
If we divide 740 by 78, we get 9 and a remainder of 38.
Put 9 as the next digit of the answer. 
Result so far: 649.29487179
If we subtract 702 from 740, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The final outcome is 649.29487179, with a leftover of 3.8e-08.