6589747 divided by 167 
We're looking to find how many times 167 goes into 6589747.

Moving on to step 1:
167 goes into 6 0 times with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 167

Step 2:
When dividing 65 by 167, we get 0 with a remainder of 65.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 65 and we're left with 65.
Take the next digit (8) from the dividend and append it to 65, then repeat: 658 / 167

Advancing to step 3:
167 goes into 658 3 times with a remainder of 157.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 501 from 658 to get 157.
Fetch the next digit (9) from the dividend, attach it to 157 and continue: 1579 / 167

Let's proceed to step 4:
The number 167 fits into 1579 9 times, leaving a remainder of 76.
Put 9 as the next digit of the answer. 
Result so far: 39.0
If we subtract 1503 from 1579, we get 76.
Grab the next digit (7) from the dividend, add it to 76, then carry on: 767 / 167

Step 5:
167 goes into 767 4 times with a remainder of 99.
The next digit of our result is 4. 
Result so far: 394.0
Deduct 668 from 767 and we're left with 99.
Append the next digit (4) from the dividend to 99 and continue with: 994 / 167

Going ahead to step 6:
167 goes into 994 5 times with a remainder of 159.
Use 5 as the next digit of our solution. 
Result so far: 3945.0
Subtracting 835 from 994 leaves us with 159.
Include the next digit (7) from the dividend after 159, then repeat: 1597 / 167

On to step 7:
If we divide 1597 by 167, we get 9 and a remainder of 94.
The number 9 becomes the next digit in our result. 
Result so far: 39459.0
Subtract 1503 from 1597 to get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

On to step 8:
167 goes into 940 5 times with a remainder of 105.
Record the quotient 5 as the next digit in the result. 
Result so far: 39459.5
The remainder is 105 after subtracting 835 from 940.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

On to step 9:
If we divide 1050 by 167, we get 6 and a remainder of 48.
Write down 6 as next digit of the result. 
Result so far: 39459.56
Deduct 1002 from 1050 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 10:
The number 167 fits into 480 2 times, leaving a remainder of 146.
Put 2 as the next digit of the answer. 
Result so far: 39459.562
If we subtract 334 from 480, we get 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Going ahead to step 11:
When dividing 1460 by 167, we get 8 with a remainder of 124.
Record the quotient 8 as the next digit in the result. 
Result so far: 39459.5628
If we take 1336 away from 1460, we end up with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Advancing to step 12:
1240 divided by 167 is 7 with a remainder of 71.
The next digit of our result is 7. 
Result so far: 39459.56287
Subtracting 1169 from 1240 leaves us with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Going ahead to step 13:
710 divided by 167 is 4 with a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 39459.562874
Deduct 668 from 710 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 14:
If we divide 420 by 167, we get 2 and a remainder of 86.
Put 2 as the next digit of the answer. 
Result so far: 39459.5628742
Subtract 334 from 420 to get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Advancing to step 15:
When dividing 860 by 167, we get 5 with a remainder of 25.
The next digit of our result is 5. 
Result so far: 39459.56287425
Subtracting 835 from 860 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Our division results in 39459.56287425 with a remaining 2.5e-08.