We're dividing 87840071 by 589 
We want to figure out the number of times 87840071 can be divided by 589.

Let's proceed to step 1:
8 divided by 589 is 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 589

On to step 2:
When dividing 87 by 589, we get 0 with a remainder of 87.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 87 leaves us with 87.
Fetch the next digit (8) from the dividend, attach it to 87 and continue: 878 / 589

Step 3:
878 divided by 589 is 1 with a remainder of 289.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 589 from 878 leaves us with 289.
Take the next digit (4) from the dividend and append it to 289, then repeat: 2894 / 589

Moving on to step 4:
589 goes into 2894 4 times with a remainder of 538.
Put 4 as the next digit of the answer. 
Result so far: 14.0
If we take 2356 away from 2894, we end up with 538.
Fetch the next digit (0) from the dividend, attach it to 538 and continue: 5380 / 589

On to step 5:
5380 divided by 589 is 9 with a remainder of 79.
Put 9 as the next digit of the answer. 
Result so far: 149.0
Subtracting 5301 from 5380 leaves us with 79.
Bring next digit (0) of the dividend behind the 79 and repeat the process: 790 / 589

Step 6:
589 can be fit into 790 1 times, resulting in a remainder of 201.
Record the quotient 1 as the next digit in the result. 
Result so far: 1491.0
If we take 589 away from 790, we end up with 201.
Take the next digit (7) from the dividend and append it to 201, then repeat: 2017 / 589

Step 7:
If we divide 2017 by 589, we get 3 and a remainder of 250.
Put 3 as the next digit of the answer. 
Result so far: 14913.0
If we subtract 1767 from 2017, we get 250.
Append the next digit (1) from the dividend to 250 and continue with: 2501 / 589

Advancing to step 8:
2501 divided by 589 is 4 with a remainder of 145.
Write down 4 as next digit of the result. 
Result so far: 149134.0
If we subtract 2356 from 2501, we get 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Step 9:
When dividing 1450 by 589, we get 2 with a remainder of 272.
The number 2 becomes the next digit in our result. 
Result so far: 149134.2
If we subtract 1178 from 1450, we get 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Going ahead to step 10:
589 can be fit into 2720 4 times, resulting in a remainder of 364.
Record the quotient 4 as the next digit in the result. 
Result so far: 149134.24
Subtract 2356 from 2720 to get 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

On to step 11:
589 can be fit into 3640 6 times, resulting in a remainder of 106.
Write down 6 as next digit of the result. 
Result so far: 149134.246
The remainder is 106 after subtracting 3534 from 3640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Step 12:
589 can be fit into 1060 1 times, resulting in a remainder of 471.
Record the quotient 1 as the next digit in the result. 
Result so far: 149134.2461
Subtract 589 from 1060 to get 471.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4710, and continue the process.

Advancing to step 13:
4710 divided by 589 is 7 with a remainder of 587.
The next digit of our result is 7. 
Result so far: 149134.24617
Subtract 4123 from 4710 to get 587.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5870, and continue the process.

On to step 14:
The number 589 fits into 5870 9 times, leaving a remainder of 569.
Put 9 as the next digit of the answer. 
Result so far: 149134.246179
Subtract 5301 from 5870 to get 569.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5690, and continue the process.

Moving on to step 15:
If we divide 5690 by 589, we get 9 and a remainder of 389.
The number 9 becomes the next digit in our result. 
Result so far: 149134.2461799
The remainder is 389 after subtracting 5301 from 5690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3890, and continue the process.

In conclusion, the division gives 149134.2461799 with a balance of 3.89e-06.