We're dividing 8107389 by 507 
Let's see how many times 507 fits into 8107389.

Let's proceed to step 1:
507 can be fit into 8 0 times, resulting in a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Take the next digit (1) from the dividend and append it to 8, then repeat: 81 / 507

Step 2:
When dividing 81 by 507, we get 0 with a remainder of 81.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 81 to get 81.
Bring next digit (0) of the dividend behind the 81 and repeat the process: 810 / 507

Moving on to step 3:
810 divided by 507 is 1 with a remainder of 303.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 507 from 810 and we're left with 303.
Take the next digit (7) from the dividend and append it to 303, then repeat: 3037 / 507

Step 4:
When dividing 3037 by 507, we get 5 with a remainder of 502.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
If we subtract 2535 from 3037, we get 502.
Append the next digit (3) from the dividend to 502 and continue with: 5023 / 507

On to step 5:
If we divide 5023 by 507, we get 9 and a remainder of 460.
The next digit of our result is 9. 
Result so far: 159.0
If we subtract 4563 from 5023, we get 460.
Append the next digit (8) from the dividend to 460 and continue with: 4608 / 507

Let's proceed to step 6:
507 goes into 4608 9 times with a remainder of 45.
Record the quotient 9 as the next digit in the result. 
Result so far: 1599.0
Subtract 4563 from 4608 to get 45.
Bring next digit (9) of the dividend behind the 45 and repeat the process: 459 / 507

Advancing to step 7:
When dividing 459 by 507, we get 0 with a remainder of 459.
Put 0 as the next digit of the answer. 
Result so far: 15990.0
Subtract 0 from 459 to get 459.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4590, and continue the process.

Advancing to step 8:
If we divide 4590 by 507, we get 9 and a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 15990.9
The remainder is 27 after subtracting 4563 from 4590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 9:
The number 507 fits into 270 0 times, leaving a remainder of 270.
Put 0 as the next digit of the answer. 
Result so far: 15990.9
If we take 0 away from 270, we end up with 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Going ahead to step 10:
507 can be fit into 2700 5 times, resulting in a remainder of 165.
Record the quotient 5 as the next digit in the result. 
Result so far: 15990.905
Subtract 2535 from 2700 to get 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

Let's proceed to step 11:
When dividing 1650 by 507, we get 3 with a remainder of 129.
The next digit of our result is 3. 
Result so far: 15990.9053
If we subtract 1521 from 1650, we get 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

On to step 12:
The number 507 fits into 1290 2 times, leaving a remainder of 276.
The number 2 becomes the next digit in our result. 
Result so far: 15990.90532
If we take 1014 away from 1290, we end up with 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Going ahead to step 13:
507 can be fit into 2760 5 times, resulting in a remainder of 225.
Record the quotient 5 as the next digit in the result. 
Result so far: 15990.905325
The remainder is 225 after subtracting 2535 from 2760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2250, and continue the process.

Advancing to step 14:
The number 507 fits into 2250 4 times, leaving a remainder of 222.
Write down 4 as next digit of the result. 
Result so far: 15990.9053254
The remainder is 222 after subtracting 2028 from 2250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Going ahead to step 15:
507 goes into 2220 4 times with a remainder of 192.
Write down 4 as next digit of the result. 
Result so far: 15990.90532544
Deduct 2028 from 2220 and we're left with 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

The final outcome is 15990.90532544, with a leftover of 1.92e-07.