87040507 ÷ 151 
Our goal is to divide 87040507 by 151.

Advancing to step 1:
151 can be fit into 8 0 times, resulting in a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 151

Step 2:
The number 151 fits into 87 0 times, leaving a remainder of 87.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 87 and we're left with 87.
Append the next digit (0) from the dividend to 87 and continue with: 870 / 151

Going ahead to step 3:
If we divide 870 by 151, we get 5 and a remainder of 115.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we subtract 755 from 870, we get 115.
Grab the next digit (4) from the dividend, add it to 115, then carry on: 1154 / 151

Advancing to step 4:
The number 151 fits into 1154 7 times, leaving a remainder of 97.
Use 7 as the next digit of our solution. 
Result so far: 57.0
Deduct 1057 from 1154 and we're left with 97.
Append the next digit (0) from the dividend to 97 and continue with: 970 / 151

Step 5:
970 divided by 151 is 6 with a remainder of 64.
Use 6 as the next digit of our solution. 
Result so far: 576.0
Deduct 906 from 970 and we're left with 64.
Fetch the next digit (5) from the dividend, attach it to 64 and continue: 645 / 151

On to step 6:
When dividing 645 by 151, we get 4 with a remainder of 41.
Use 4 as the next digit of our solution. 
Result so far: 5764.0
Subtract 604 from 645 to get 41.
Append the next digit (0) from the dividend to 41 and continue with: 410 / 151

Moving on to step 7:
The number 151 fits into 410 2 times, leaving a remainder of 108.
The next digit of our result is 2. 
Result so far: 57642.0
The remainder is 108 after subtracting 302 from 410.
Include the next digit (7) from the dividend after 108, then repeat: 1087 / 151

Going ahead to step 8:
The number 151 fits into 1087 7 times, leaving a remainder of 30.
Record the quotient 7 as the next digit in the result. 
Result so far: 576427.0
If we subtract 1057 from 1087, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 9:
151 goes into 300 1 times with a remainder of 149.
The number 1 becomes the next digit in our result. 
Result so far: 576427.1
Subtract 151 from 300 to get 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Moving on to step 10:
151 goes into 1490 9 times with a remainder of 131.
Use 9 as the next digit of our solution. 
Result so far: 576427.19
If we take 1359 away from 1490, we end up with 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

Step 11:
1310 divided by 151 is 8 with a remainder of 102.
The number 8 becomes the next digit in our result. 
Result so far: 576427.198
Subtracting 1208 from 1310 leaves us with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Step 12:
1020 divided by 151 is 6 with a remainder of 114.
Write down 6 as next digit of the result. 
Result so far: 576427.1986
Subtracting 906 from 1020 leaves us with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Moving on to step 13:
If we divide 1140 by 151, we get 7 and a remainder of 83.
Use 7 as the next digit of our solution. 
Result so far: 576427.19867
If we subtract 1057 from 1140, we get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Moving on to step 14:
830 divided by 151 is 5 with a remainder of 75.
The next digit of our result is 5. 
Result so far: 576427.198675
Deduct 755 from 830 and we're left with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

On to step 15:
When dividing 750 by 151, we get 4 with a remainder of 146.
The next digit of our result is 4. 
Result so far: 576427.1986754
Deduct 604 from 750 and we're left with 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Step 16:
151 goes into 1460 9 times with a remainder of 101.
Put 9 as the next digit of the answer. 
Result so far: 576427.19867549
Subtracting 1359 from 1460 leaves us with 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

In conclusion, the division gives 576427.19867549 with a balance of 1.01e-07.