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

Moving on to step 1:
The number 78 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 78

Going ahead to step 2:
15 divided by 78 is 0 with a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Fetch the next digit (8) from the dividend, attach it to 15 and continue: 158 / 78

Step 3:
The number 78 fits into 158 2 times, leaving a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 156 from 158 and we're left with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 78

On to step 4:
If we divide 29 by 78, we get 0 and a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 20.0
The remainder is 29 after subtracting 0 from 29.
Append the next digit (9) from the dividend to 29 and continue with: 299 / 78

Let's proceed to step 5:
If we divide 299 by 78, we get 3 and a remainder of 65.
Write down 3 as next digit of the result. 
Result so far: 203.0
If we subtract 234 from 299, we get 65.
Include the next digit (8) from the dividend after 65, then repeat: 658 / 78

Advancing to step 6:
78 goes into 658 8 times with a remainder of 34.
The number 8 becomes the next digit in our result. 
Result so far: 2038.0
If we take 624 away from 658, we end up 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.

Advancing to step 7:
The number 78 fits into 340 4 times, leaving a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 2038.4
Subtracting 312 from 340 leaves us 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.

Step 8:
78 goes into 280 3 times with a remainder of 46.
The next digit of our result is 3. 
Result so far: 2038.43
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.

Let's proceed to step 9:
460 divided by 78 is 5 with a remainder of 70.
Write down 5 as next digit of the result. 
Result so far: 2038.435
The remainder is 70 after subtracting 390 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 10:
78 goes into 700 8 times with a remainder of 76.
The next digit of our result is 8. 
Result so far: 2038.4358
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.

Step 11:
The number 78 fits into 760 9 times, leaving a remainder of 58.
The number 9 becomes the next digit in our result. 
Result so far: 2038.43589
If we subtract 702 from 760, we get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Moving on to step 12:
If we divide 580 by 78, we get 7 and a remainder of 34.
The next digit of our result is 7. 
Result so far: 2038.435897
The remainder is 34 after subtracting 546 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 13:
The number 78 fits into 340 4 times, leaving a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 2038.4358974
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.

Moving on to step 14:
78 goes into 280 3 times with a remainder of 46.
Use 3 as the next digit of our solution. 
Result so far: 2038.43589743
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.

The final outcome is 2038.43589743, with a leftover of 4.6e-08.