Let's divide 81587 by 2
Let's see how many times 2 fits into 81587.

Advancing to step 1:
If we divide 8 by 2, we get 4 and a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 8 from 8, we get 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 2

Going ahead to step 2:
1 divided by 2 is 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 40.0
If we subtract 0 from 1, we get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 2

Step 3:
2 goes into 15 7 times with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 407.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 4:
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: 4079.0
Subtract 18 from 18 to get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 2

Moving on to step 5:
The number 2 fits into 7 3 times, leaving a remainder of 1.
The next digit of our result is 3. 
Result so far: 40793.0
The remainder is 1 after subtracting 6 from 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 6:
The number 2 fits into 10 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 40793.5
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:
2 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 40793.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.

On to step 8:
0 divided by 2 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 40793.5
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.

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