39969787 ÷ 865 
Let's see how many times 865 fits into 39969787.

Moving on to step 1:
When dividing 3 by 865, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 865

Going ahead to step 2:
The number 865 fits into 39 0 times, leaving a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 865

Step 3:
865 goes into 399 0 times with a remainder of 399.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 399 and we're left with 399.
Take the next digit (6) from the dividend and append it to 399, then repeat: 3996 / 865

Going ahead to step 4:
865 can be fit into 3996 4 times, resulting in a remainder of 536.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 536 after subtracting 3460 from 3996.
Grab the next digit (9) from the dividend, add it to 536, then carry on: 5369 / 865

On to step 5:
865 can be fit into 5369 6 times, resulting in a remainder of 179.
Use 6 as the next digit of our solution. 
Result so far: 46.0
The remainder is 179 after subtracting 5190 from 5369.
Take the next digit (7) from the dividend and append it to 179, then repeat: 1797 / 865

Advancing to step 6:
The number 865 fits into 1797 2 times, leaving a remainder of 67.
The number 2 becomes the next digit in our result. 
Result so far: 462.0
If we subtract 1730 from 1797, we get 67.
Grab the next digit (8) from the dividend, add it to 67, then carry on: 678 / 865

Advancing to step 7:
The number 865 fits into 678 0 times, leaving a remainder of 678.
Use 0 as the next digit of our solution. 
Result so far: 4620.0
Deduct 0 from 678 and we're left with 678.
Include the next digit (7) from the dividend after 678, then repeat: 6787 / 865

Advancing to step 8:
865 can be fit into 6787 7 times, resulting in a remainder of 732.
Record the quotient 7 as the next digit in the result. 
Result so far: 46207.0
Deduct 6055 from 6787 and we're left with 732.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7320, and continue the process.

Let's proceed to step 9:
7320 divided by 865 is 8 with a remainder of 400.
Put 8 as the next digit of the answer. 
Result so far: 46207.8
If we subtract 6920 from 7320, we get 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Going ahead to step 10:
When dividing 4000 by 865, we get 4 with a remainder of 540.
Use 4 as the next digit of our solution. 
Result so far: 46207.84
The remainder is 540 after subtracting 3460 from 4000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

On to step 11:
If we divide 5400 by 865, we get 6 and a remainder of 210.
Write down 6 as next digit of the result. 
Result so far: 46207.846
Subtract 5190 from 5400 to get 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

On to step 12:
If we divide 2100 by 865, we get 2 and a remainder of 370.
Put 2 as the next digit of the answer. 
Result so far: 46207.8462
Subtracting 1730 from 2100 leaves us with 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

Let's proceed to step 13:
When dividing 3700 by 865, we get 4 with a remainder of 240.
The number 4 becomes the next digit in our result. 
Result so far: 46207.84624
If we take 3460 away from 3700, we end up with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Let's proceed to step 14:
When dividing 2400 by 865, we get 2 with a remainder of 670.
Use 2 as the next digit of our solution. 
Result so far: 46207.846242
Deduct 1730 from 2400 and we're left with 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6700, and continue the process.

Let's proceed to step 15:
If we divide 6700 by 865, we get 7 and a remainder of 645.
Record the quotient 7 as the next digit in the result. 
Result so far: 46207.8462427
The remainder is 645 after subtracting 6055 from 6700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6450, and continue the process.

Let's proceed to step 16:
The number 865 fits into 6450 7 times, leaving a remainder of 395.
Use 7 as the next digit of our solution. 
Result so far: 46207.84624277
If we subtract 6055 from 6450, we get 395.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3950, and continue the process.

The quotient of the division is 46207.84624277, and the remainder is 3.95e-07.