We divide 873817 by 666
We want to divide 873817 by 666.

Advancing to step 1:
666 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 666

On to step 2:
666 goes into 87 0 times with a remainder of 87.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 87 and we're left with 87.
Append the next digit (3) from the dividend to 87 and continue with: 873 / 666

On to step 3:
873 divided by 666 is 1 with a remainder of 207.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 666 from 873 leaves us with 207.
Append the next digit (8) from the dividend to 207 and continue with: 2078 / 666

Moving on to step 4:
666 can be fit into 2078 3 times, resulting in a remainder of 80.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
The remainder is 80 after subtracting 1998 from 2078.
Fetch the next digit (1) from the dividend, attach it to 80 and continue: 801 / 666

Let's proceed to step 5:
666 goes into 801 1 times with a remainder of 135.
Write down 1 as next digit of the result. 
Result so far: 131.0
If we subtract 666 from 801, we get 135.
Fetch the next digit (7) from the dividend, attach it to 135 and continue: 1357 / 666

Step 6:
If we divide 1357 by 666, we get 2 and a remainder of 25.
Write down 2 as next digit of the result. 
Result so far: 1312.0
Subtract 1332 from 1357 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
If we divide 250 by 666, we get 0 and a remainder of 250.
Record the quotient 0 as the next digit in the result. 
Result so far: 1312.0
Subtracting 0 from 250 leaves us with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Going ahead to step 8:
When dividing 2500 by 666, we get 3 with a remainder of 502.
Use 3 as the next digit of our solution. 
Result so far: 1312.03
Subtract 1998 from 2500 to get 502.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5020, and continue the process.

Moving on to step 9:
If we divide 5020 by 666, we get 7 and a remainder of 358.
Write down 7 as next digit of the result. 
Result so far: 1312.037
Subtract 4662 from 5020 to get 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Step 10:
If we divide 3580 by 666, we get 5 and a remainder of 250.
The number 5 becomes the next digit in our result. 
Result so far: 1312.0375
If we take 3330 away from 3580, we end up with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Let's proceed to step 11:
666 can be fit into 2500 3 times, resulting in a remainder of 502.
Record the quotient 3 as the next digit in the result. 
Result so far: 1312.03753
The remainder is 502 after subtracting 1998 from 2500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5020, and continue the process.

On to step 12:
The number 666 fits into 5020 7 times, leaving a remainder of 358.
Put 7 as the next digit of the answer. 
Result so far: 1312.037537
The remainder is 358 after subtracting 4662 from 5020.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Going ahead to step 13:
The number 666 fits into 3580 5 times, leaving a remainder of 250.
Record the quotient 5 as the next digit in the result. 
Result so far: 1312.0375375
If we subtract 3330 from 3580, we get 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Advancing to step 14:
666 goes into 2500 3 times with a remainder of 502.
The number 3 becomes the next digit in our result. 
Result so far: 1312.03753753
Deduct 1998 from 2500 and we're left with 502.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5020, and continue the process.

The quotient of the division is 1312.03753753, and the remainder is 5.02e-07.