We look at the division of 39071 by 5 
Let's see how many times 5 fits into 39071.

Let's proceed to step 1:
The number 5 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 5

On to step 2:
5 goes into 39 7 times with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 7.0
If we take 35 away from 39, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 5

On to step 3:
If we divide 40 by 5, we get 8 and a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
Subtract 40 from 40 to get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 5

On to step 4:
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: 781.0
Subtracting 5 from 7 leaves us with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 5

On to step 5:
21 divided by 5 is 4 with a remainder of 1.
The next digit of our result is 4. 
Result so far: 7814.0
Subtracting 20 from 21 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 6:
10 divided by 5 is 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 7814.2
Deduct 10 from 10 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.

Moving on to step 7:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 7814.2
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.

Advancing to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 7814.2
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.

Our division results in 7814.2 with a remaining 0.0.