42171 ÷ 5 
We want to figure out the number of times 42171 can be divided by 5.

Going ahead to step 1:
5 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 5

Let's proceed to step 2:
If we divide 42 by 5, we get 8 and a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Subtracting 40 from 42 leaves us with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 5

Step 3:
The number 5 fits into 21 4 times, leaving a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 84.0
If we subtract 20 from 21, we get 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 5

On to step 4:
17 divided by 5 is 3 with a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 843.0
The remainder is 2 after subtracting 15 from 17.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 5

Advancing to step 5:
If we divide 21 by 5, we get 4 and a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 8434.0
If we subtract 20 from 21, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 6:
The number 5 fits into 10 2 times, leaving a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 8434.2
If we take 10 away from 10, 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.

On to step 7:
5 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 8434.2
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.

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

The final result is 8434.2 with a remainder of 0.0.