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

Advancing to step 1:
The number 78 fits into 4 0 times, leaving a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 78

Advancing to step 2:
The number 78 fits into 49 0 times, leaving a remainder of 49.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 49, we end up with 49.
Append the next digit (9) from the dividend to 49 and continue with: 499 / 78

Let's proceed to step 3:
78 can be fit into 499 6 times, resulting in a remainder of 31.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 468 away from 499, we end up with 31.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 78

Going ahead to step 4:
315 divided by 78 is 4 with a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 64.0
Subtracting 312 from 315 leaves us with 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 78

On to step 5:
The number 78 fits into 34 0 times, leaving a remainder of 34.
Put 0 as the next digit of the answer. 
Result so far: 640.0
Deduct 0 from 34 and we're left with 34.
Grab the next digit (0) from the dividend, add it to 34, then carry on: 340 / 78

Moving on to step 6:
When dividing 340 by 78, we get 4 with a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 6404.0
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 7:
If we divide 280 by 78, we get 3 and a remainder of 46.
Put 3 as the next digit of the answer. 
Result so far: 6404.3
The remainder is 46 after subtracting 234 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 8:
460 divided by 78 is 5 with a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 6404.35
Subtracting 390 from 460 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Moving on to step 9:
When dividing 700 by 78, we get 8 with a remainder of 76.
Put 8 as the next digit of the answer. 
Result so far: 6404.358
Subtract 624 from 700 to get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

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

Advancing to step 11:
When dividing 580 by 78, we get 7 with a remainder of 34.
The next digit of our result is 7. 
Result so far: 6404.35897
Subtracting 546 from 580 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 12:
When dividing 340 by 78, we get 4 with a remainder of 28.
The next digit of our result is 4. 
Result so far: 6404.358974
If we take 312 away from 340, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 13:
280 divided by 78 is 3 with a remainder of 46.
Write down 3 as next digit of the result. 
Result so far: 6404.3589743
Subtract 234 from 280 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 14:
78 goes into 460 5 times with a remainder of 70.
The number 5 becomes the next digit in our result. 
Result so far: 6404.35897435
If we take 390 away from 460, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

The final outcome is 6404.35897435, with a leftover of 7e-08.