506851 divided by 87 
We want to figure out the number of times 506851 can be divided by 87.

Step 1:
5 divided by 87 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 87

Let's proceed to step 2:
The number 87 fits into 50 0 times, leaving a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Fetch the next digit (6) from the dividend, attach it to 50 and continue: 506 / 87

On to step 3:
When dividing 506 by 87, we get 5 with a remainder of 71.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 435 from 506, we get 71.
Take the next digit (8) from the dividend and append it to 71, then repeat: 718 / 87

On to step 4:
When dividing 718 by 87, we get 8 with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 58.0
Subtracting 696 from 718 leaves us with 22.
Fetch the next digit (5) from the dividend, attach it to 22 and continue: 225 / 87

Let's proceed to step 5:
225 divided by 87 is 2 with a remainder of 51.
Put 2 as the next digit of the answer. 
Result so far: 582.0
Subtracting 174 from 225 leaves us with 51.
Grab the next digit (1) from the dividend, add it to 51, then carry on: 511 / 87

On to step 6:
87 can be fit into 511 5 times, resulting in a remainder of 76.
Use 5 as the next digit of our solution. 
Result so far: 5825.0
If we take 435 away from 511, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

On to step 7:
760 divided by 87 is 8 with a remainder of 64.
Record the quotient 8 as the next digit in the result. 
Result so far: 5825.8
If we take 696 away from 760, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 8:
If we divide 640 by 87, we get 7 and a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 5825.87
If we take 609 away from 640, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 9:
87 goes into 310 3 times with a remainder of 49.
The next digit of our result is 3. 
Result so far: 5825.873
If we subtract 261 from 310, we get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Step 10:
87 goes into 490 5 times with a remainder of 55.
Use 5 as the next digit of our solution. 
Result so far: 5825.8735
If we take 435 away from 490, we end up with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 11:
87 can be fit into 550 6 times, resulting in a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 5825.87356
If we take 522 away from 550, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 12:
If we divide 280 by 87, we get 3 and a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 5825.873563
Deduct 261 from 280 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 13:
87 can be fit into 190 2 times, resulting in a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 5825.8735632
The remainder is 16 after subtracting 174 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 14:
160 divided by 87 is 1 with a remainder of 73.
Write down 1 as next digit of the result. 
Result so far: 5825.87356321
If we take 87 away from 160, we end up with 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

The final outcome is 5825.87356321, with a leftover of 7.3e-08.