Let's divide 58170731 by 664
We're looking to find how many times 664 goes into 58170731.

On to step 1:
When dividing 5 by 664, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 664

Advancing to step 2:
The number 664 fits into 58 0 times, leaving a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 58, we get 58.
Include the next digit (1) from the dividend after 58, then repeat: 581 / 664

On to step 3:
664 can be fit into 581 0 times, resulting in a remainder of 581.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 581 and we're left with 581.
Fetch the next digit (7) from the dividend, attach it to 581 and continue: 5817 / 664

Going ahead to step 4:
When dividing 5817 by 664, we get 8 with a remainder of 505.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we take 5312 away from 5817, we end up with 505.
Include the next digit (0) from the dividend after 505, then repeat: 5050 / 664

Going ahead to step 5:
664 can be fit into 5050 7 times, resulting in a remainder of 402.
The next digit of our result is 7. 
Result so far: 87.0
If we subtract 4648 from 5050, we get 402.
Include the next digit (7) from the dividend after 402, then repeat: 4027 / 664

On to step 6:
4027 divided by 664 is 6 with a remainder of 43.
Use 6 as the next digit of our solution. 
Result so far: 876.0
Deduct 3984 from 4027 and we're left with 43.
Append the next digit (3) from the dividend to 43 and continue with: 433 / 664

Moving on to step 7:
The number 664 fits into 433 0 times, leaving a remainder of 433.
The next digit of our result is 0. 
Result so far: 8760.0
Subtracting 0 from 433 leaves us with 433.
Take the next digit (1) from the dividend and append it to 433, then repeat: 4331 / 664

Moving on to step 8:
If we divide 4331 by 664, we get 6 and a remainder of 347.
Write down 6 as next digit of the result. 
Result so far: 87606.0
The remainder is 347 after subtracting 3984 from 4331.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3470, and continue the process.

Going ahead to step 9:
664 goes into 3470 5 times with a remainder of 150.
Put 5 as the next digit of the answer. 
Result so far: 87606.5
If we subtract 3320 from 3470, we get 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Advancing to step 10:
If we divide 1500 by 664, we get 2 and a remainder of 172.
Write down 2 as next digit of the result. 
Result so far: 87606.52
Subtract 1328 from 1500 to get 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Let's proceed to step 11:
664 can be fit into 1720 2 times, resulting in a remainder of 392.
The number 2 becomes the next digit in our result. 
Result so far: 87606.522
Subtract 1328 from 1720 to get 392.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3920, and continue the process.

The final result is 87606.522 with a remainder of 0.0392.