We divide 4078 by 8
We want to divide 4078 by 8.

Step 1:
8 can be fit into 4 0 times, resulting in 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.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 8

On to step 2:
If we divide 40 by 8, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Deduct 40 from 40 and we're left with 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 8

Advancing to step 3:
If we divide 7 by 8, we get 0 and a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 50.0
Subtracting 0 from 7 leaves us with 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 8

Going ahead to step 4:
8 goes into 78 9 times with a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 509.0
The remainder is 6 after subtracting 72 from 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 5:
60 divided by 8 is 7 with a remainder of 4.
The next digit of our result is 7. 
Result so far: 509.7
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 6:
The number 8 fits into 40 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 509.75
If we take 40 away from 40, 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.

Step 7:
0 divided by 8 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 509.75
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.

Moving on to step 8:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 509.75
The remainder is 0 after subtracting 0 from 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 result is 509.75 with a remainder of 0.0.