We look at the division of 31278 by 5 
We're looking to find how many times 5 goes into 31278.

Going ahead to step 1:
The number 5 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 5

On to step 2:
5 can be fit into 31 6 times, resulting in a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 30 away from 31, we end up with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 5

Going ahead to step 3:
When dividing 12 by 5, we get 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 62.0
The remainder is 2 after subtracting 10 from 12.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 5

Let's proceed to step 4:
When dividing 27 by 5, we get 5 with a remainder of 2.
The next digit of our result is 5. 
Result so far: 625.0
Subtract 25 from 27 to get 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 5

Step 5:
5 goes into 28 5 times with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 6255.0
If we subtract 25 from 28, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 6:
If we divide 30 by 5, we get 6 and a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 6255.6
The remainder is 0 after subtracting 30 from 30.
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 7:
5 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 6255.6
Subtracting 0 from 0 leaves us 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 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 6255.6
Deduct 0 from 0 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.

In conclusion, the division gives 6255.6 with a balance of 0.0.