We're dividing 507361 by 87 
Our goal is to divide 507361 by 87.

Advancing to step 1:
The number 87 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 87

Advancing to step 2:
87 goes into 50 0 times with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Bring next digit (7) of the dividend behind the 50 and repeat the process: 507 / 87

Let's proceed to step 3:
87 goes into 507 5 times with a remainder of 72.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 435 from 507, we get 72.
Bring next digit (3) of the dividend behind the 72 and repeat the process: 723 / 87

Advancing to step 4:
The number 87 fits into 723 8 times, leaving a remainder of 27.
Use 8 as the next digit of our solution. 
Result so far: 58.0
Deduct 696 from 723 and we're left with 27.
Grab the next digit (6) from the dividend, add it to 27, then carry on: 276 / 87

On to step 5:
The number 87 fits into 276 3 times, leaving a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 583.0
Deduct 261 from 276 and we're left with 15.
Bring next digit (1) of the dividend behind the 15 and repeat the process: 151 / 87

Advancing to step 6:
If we divide 151 by 87, we get 1 and a remainder of 64.
The next digit of our result is 1. 
Result so far: 5831.0
The remainder is 64 after subtracting 87 from 151.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 7:
When dividing 640 by 87, we get 7 with a remainder of 31.
The next digit of our result is 7. 
Result so far: 5831.7
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 8:
When dividing 310 by 87, we get 3 with a remainder of 49.
The next digit of our result is 3. 
Result so far: 5831.73
Subtract 261 from 310 to 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.

Advancing to step 9:
87 goes into 490 5 times with a remainder of 55.
Record the quotient 5 as the next digit in the result. 
Result so far: 5831.735
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.

Moving on to step 10:
550 divided by 87 is 6 with a remainder of 28.
The next digit of our result is 6. 
Result so far: 5831.7356
Subtract 522 from 550 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 11:
87 goes into 280 3 times with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 5831.73563
Subtract 261 from 280 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 12:
87 goes into 190 2 times with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 5831.735632
Deduct 174 from 190 and we're left with 16.
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 13:
The number 87 fits into 160 1 times, leaving a remainder of 73.
Record the quotient 1 as the next digit in the result. 
Result so far: 5831.7356321
If we subtract 87 from 160, we get 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Step 14:
730 divided by 87 is 8 with a remainder of 34.
The next digit of our result is 8. 
Result so far: 5831.73563218
If we subtract 696 from 730, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Our division results in 5831.73563218 with a remaining 3.4e-08.