We look at the division of 111078 by 5 
The aim is to understand the frequency of 5 in 111078.

On to step 1:
If we divide 1 by 5, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 5

Step 2:
The number 5 fits into 11 2 times, leaving a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 10 from 11 and we're left with 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 5

On to step 3:
11 divided by 5 is 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 22.0
Deduct 10 from 11 and we're left with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 5

Going ahead to step 4:
5 goes into 10 2 times with a remainder of 0.
The next digit of our result is 2. 
Result so far: 222.0
If we take 10 away from 10, we end up with 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 5

Step 5:
When dividing 7 by 5, we get 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 2221.0
Subtract 5 from 7 to get 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 5

On to step 6:
The number 5 fits into 28 5 times, leaving a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 22215.0
If we take 25 away from 28, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
5 goes into 30 6 times with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 22215.6
Deduct 30 from 30 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 22215.6
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 22215.6
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 22215.6, with a leftover of 0.0.