Let's divide 516842 by 78
The aim is to understand the frequency of 78 in 516842.

Moving on to step 1:
78 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 78

Step 2:
78 goes into 51 0 times with a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 51 after subtracting 0 from 51.
Take the next digit (6) from the dividend and append it to 51, then repeat: 516 / 78

Going ahead to step 3:
If we divide 516 by 78, we get 6 and a remainder of 48.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we subtract 468 from 516, we get 48.
Append the next digit (8) from the dividend to 48 and continue with: 488 / 78

Moving on to step 4:
78 can be fit into 488 6 times, resulting in a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 66.0
Subtract 468 from 488 to get 20.
Grab the next digit (4) from the dividend, add it to 20, then carry on: 204 / 78

Advancing to step 5:
78 goes into 204 2 times with a remainder of 48.
The number 2 becomes the next digit in our result. 
Result so far: 662.0
Subtracting 156 from 204 leaves us with 48.
Grab the next digit (2) from the dividend, add it to 48, then carry on: 482 / 78

Advancing to step 6:
If we divide 482 by 78, we get 6 and a remainder of 14.
The next digit of our result is 6. 
Result so far: 6626.0
Subtract 468 from 482 to get 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 7:
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: 6626.1
The remainder is 62 after subtracting 78 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Moving on to step 8:
If we divide 620 by 78, we get 7 and a remainder of 74.
Use 7 as the next digit of our solution. 
Result so far: 6626.17
If we take 546 away from 620, we end up with 74.
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 9:
78 goes into 740 9 times with a remainder of 38.
Write down 9 as next digit of the result. 
Result so far: 6626.179
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.

Moving on to step 10:
78 can be fit into 380 4 times, resulting in a remainder of 68.
Write down 4 as next digit of the result. 
Result so far: 6626.1794
Subtract 312 from 380 to get 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 11:
If we divide 680 by 78, we get 8 and a remainder of 56.
The next digit of our result is 8. 
Result so far: 6626.17948
If we take 624 away from 680, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 12:
The number 78 fits into 560 7 times, leaving a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 6626.179487
If we subtract 546 from 560, we get 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 13:
The number 78 fits into 140 1 times, leaving a remainder of 62.
Use 1 as the next digit of our solution. 
Result so far: 6626.1794871
If we subtract 78 from 140, we 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.

Advancing to step 14:
78 goes into 620 7 times with a remainder of 74.
The number 7 becomes the next digit in our result. 
Result so far: 6626.17948717
Subtracting 546 from 620 leaves us with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

In conclusion, the division gives 6626.17948717 with a balance of 7.4e-08.