We're dividing 874517 by 39 
Our goal is to divide 874517 by 39.

Step 1:
If we divide 8 by 39, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 39

On to step 2:
39 can be fit into 87 2 times, resulting in a remainder of 9.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 78 from 87 and we're left with 9.
Fetch the next digit (4) from the dividend, attach it to 9 and continue: 94 / 39

Let's proceed to step 3:
When dividing 94 by 39, we get 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
If we subtract 78 from 94, we get 16.
Fetch the next digit (5) from the dividend, attach it to 16 and continue: 165 / 39

Step 4:
165 divided by 39 is 4 with a remainder of 9.
Put 4 as the next digit of the answer. 
Result so far: 224.0
Subtract 156 from 165 to get 9.
Append the next digit (1) from the dividend to 9 and continue with: 91 / 39

Advancing to step 5:
If we divide 91 by 39, we get 2 and a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 2242.0
The remainder is 13 after subtracting 78 from 91.
Include the next digit (7) from the dividend after 13, then repeat: 137 / 39

Advancing to step 6:
39 goes into 137 3 times with a remainder of 20.
The next digit of our result is 3. 
Result so far: 22423.0
Deduct 117 from 137 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 7:
39 goes into 200 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 22423.5
If we take 195 away from 200, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 8:
If we divide 50 by 39, we get 1 and a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 22423.51
If we subtract 39 from 50, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 9:
When dividing 110 by 39, we get 2 with a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 22423.512
Deduct 78 from 110 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 10:
If we divide 320 by 39, we get 8 and a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 22423.5128
Subtracting 312 from 320 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
39 can be fit into 80 2 times, resulting in a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 22423.51282
The remainder is 2 after subtracting 78 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 12:
20 divided by 39 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 22423.51282
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 13:
200 divided by 39 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 22423.5128205
Subtracting 195 from 200 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 14:
The number 39 fits into 50 1 times, leaving a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 22423.51282051
Deduct 39 from 50 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

The quotient of the division is 22423.51282051, and the remainder is 1.1e-08.