We're dividing 6584 by 39 
We want to divide 6584 by 39.

Let's proceed to step 1:
When dividing 6 by 39, we get 0 with a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 39

Going ahead to step 2:
The number 39 fits into 65 1 times, leaving a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 39 from 65 and we're left with 26.
Include the next digit (8) from the dividend after 26, then repeat: 268 / 39

Advancing to step 3:
268 divided by 39 is 6 with a remainder of 34.
The next digit of our result is 6. 
Result so far: 16.0
The remainder is 34 after subtracting 234 from 268.
Grab the next digit (4) from the dividend, add it to 34, then carry on: 344 / 39

Moving on to step 4:
39 goes into 344 8 times with a remainder of 32.
Put 8 as the next digit of the answer. 
Result so far: 168.0
Subtract 312 from 344 to get 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 5:
When dividing 320 by 39, we get 8 with a remainder of 8.
The next digit of our result is 8. 
Result so far: 168.8
Subtract 312 from 320 to get 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 6:
When dividing 80 by 39, we get 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 168.82
Deduct 78 from 80 and we're left 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.

Going ahead to step 7:
The number 39 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 168.82
If we take 0 away from 20, we end up 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.

Going ahead to step 8:
When dividing 200 by 39, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 168.8205
Subtract 195 from 200 to 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.

Let's proceed to step 9:
50 divided by 39 is 1 with a remainder of 11.
The next digit of our result is 1. 
Result so far: 168.82051
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.

Step 10:
39 goes into 110 2 times with a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 168.820512
If we take 78 away from 110, we end up 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.

Moving on to step 11:
320 divided by 39 is 8 with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 168.8205128
If we take 312 away from 320, we end up 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.

Advancing to step 12:
When dividing 80 by 39, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 168.82051282
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.

In conclusion, the division gives 168.82051282 with a balance of 2e-09.