23171 divided by 39 
Our goal is to divide 23171 by 39.

Moving on to step 1:
39 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 39

Moving on to step 2:
39 can be fit into 23 0 times, resulting in a remainder of 23.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 23 to get 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 39

On to step 3:
When dividing 231 by 39, we get 5 with a remainder of 36.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 195 from 231, we get 36.
Take the next digit (7) from the dividend and append it to 36, then repeat: 367 / 39

Let's proceed to step 4:
If we divide 367 by 39, we get 9 and a remainder of 16.
Use 9 as the next digit of our solution. 
Result so far: 59.0
Subtract 351 from 367 to get 16.
Grab the next digit (1) from the dividend, add it to 16, then carry on: 161 / 39

Step 5:
161 divided by 39 is 4 with a remainder of 5.
Use 4 as the next digit of our solution. 
Result so far: 594.0
If we subtract 156 from 161, we get 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 6:
When dividing 50 by 39, we get 1 with a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 594.1
If we take 39 away from 50, we end up 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.

Step 7:
39 can be fit into 110 2 times, resulting in a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 594.12
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.

On to step 8:
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: 594.128
Deduct 312 from 320 and we're left 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.

Step 9:
39 can be fit into 80 2 times, resulting in a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 594.1282
If we take 78 away from 80, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
The number 39 fits into 20 0 times, leaving a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 594.1282
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.

Moving on to step 11:
39 can be fit into 200 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 594.128205
The remainder is 5 after subtracting 195 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 12:
39 can be fit into 50 1 times, resulting in a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 594.1282051
Subtracting 39 from 50 leaves us 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.

On to step 13:
110 divided by 39 is 2 with a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 594.12820512
The remainder is 32 after subtracting 78 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

After the division, we end up with 594.12820512 and a remainder of 3.2e-08.