Let's divide 3877917 by 507
We want to divide 3877917 by 507.

On to step 1:
3 divided by 507 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 507

Moving on to step 2:
When dividing 38 by 507, we get 0 with a remainder of 38.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 38 leaves us with 38.
Include the next digit (7) from the dividend after 38, then repeat: 387 / 507

Advancing to step 3:
When dividing 387 by 507, we get 0 with a remainder of 387.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 387, we get 387.
Bring next digit (7) of the dividend behind the 387 and repeat the process: 3877 / 507

Step 4:
The number 507 fits into 3877 7 times, leaving a remainder of 328.
Put 7 as the next digit of the answer. 
Result so far: 7.0
The remainder is 328 after subtracting 3549 from 3877.
Include the next digit (9) from the dividend after 328, then repeat: 3289 / 507

Advancing to step 5:
If we divide 3289 by 507, we get 6 and a remainder of 247.
Use 6 as the next digit of our solution. 
Result so far: 76.0
The remainder is 247 after subtracting 3042 from 3289.
Grab the next digit (1) from the dividend, add it to 247, then carry on: 2471 / 507

Going ahead to step 6:
507 goes into 2471 4 times with a remainder of 443.
Use 4 as the next digit of our solution. 
Result so far: 764.0
Subtracting 2028 from 2471 leaves us with 443.
Fetch the next digit (7) from the dividend, attach it to 443 and continue: 4437 / 507

On to step 7:
4437 divided by 507 is 8 with a remainder of 381.
Put 8 as the next digit of the answer. 
Result so far: 7648.0
Subtracting 4056 from 4437 leaves us with 381.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3810, and continue the process.

Moving on to step 8:
507 can be fit into 3810 7 times, resulting in a remainder of 261.
Put 7 as the next digit of the answer. 
Result so far: 7648.7
If we take 3549 away from 3810, we end up with 261.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2610, and continue the process.

On to step 9:
The number 507 fits into 2610 5 times, leaving a remainder of 75.
Put 5 as the next digit of the answer. 
Result so far: 7648.75
Subtract 2535 from 2610 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Let's proceed to step 10:
507 can be fit into 750 1 times, resulting in a remainder of 243.
Write down 1 as next digit of the result. 
Result so far: 7648.751
Subtract 507 from 750 to get 243.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2430, and continue the process.

Let's proceed to step 11:
The number 507 fits into 2430 4 times, leaving a remainder of 402.
Put 4 as the next digit of the answer. 
Result so far: 7648.7514
Subtracting 2028 from 2430 leaves us with 402.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4020, and continue the process.

On to step 12:
If we divide 4020 by 507, we get 7 and a remainder of 471.
Write down 7 as next digit of the result. 
Result so far: 7648.75147
The remainder is 471 after subtracting 3549 from 4020.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4710, and continue the process.

Let's proceed to step 13:
When dividing 4710 by 507, we get 9 with a remainder of 147.
Record the quotient 9 as the next digit in the result. 
Result so far: 7648.751479
If we take 4563 away from 4710, we end up with 147.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1470, and continue the process.

Step 14:
The number 507 fits into 1470 2 times, leaving a remainder of 456.
Put 2 as the next digit of the answer. 
Result so far: 7648.7514792
Deduct 1014 from 1470 and we're left with 456.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4560, and continue the process.

Let's proceed to step 15:
The number 507 fits into 4560 8 times, leaving a remainder of 504.
Put 8 as the next digit of the answer. 
Result so far: 7648.75147928
Subtracting 4056 from 4560 leaves us with 504.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5040, and continue the process.

The quotient of the division is 7648.75147928, and the remainder is 5.04e-07.