Let's divide 158671 by 2
We want to divide 158671 by 2.

Going ahead to step 1:
2 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 2

Moving on to step 2:
If we divide 15 by 2, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we subtract 14 from 15, we get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 2

On to step 3:
If we divide 18 by 2, we get 9 and a remainder of 0.
The next digit of our result is 9. 
Result so far: 79.0
If we take 18 away from 18, we end up with 0.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 2

On to step 4:
If we divide 6 by 2, we get 3 and a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 793.0
Subtract 6 from 6 to get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 2

On to step 5:
If we divide 7 by 2, we get 3 and a remainder of 1.
The next digit of our result is 3. 
Result so far: 7933.0
Subtract 6 from 7 to get 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 2

Step 6:
When dividing 11 by 2, we get 5 with a remainder of 1.
The next digit of our result is 5. 
Result so far: 79335.0
The remainder is 1 after subtracting 10 from 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
When dividing 10 by 2, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 79335.5
The remainder is 0 after subtracting 10 from 10.
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:
2 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: 79335.5
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.

Moving on to step 9:
The number 2 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 79335.5
If we subtract 0 from 0, we 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 quotient of the division is 79335.5, and the remainder is 0.0.