We look at the division of 582664 by 789 
We're looking to find how many times 789 goes into 582664.

Advancing to step 1:
If we divide 5 by 789, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 789

Advancing to step 2:
When dividing 58 by 789, we get 0 with a remainder of 58.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Include the next digit (2) from the dividend after 58, then repeat: 582 / 789

Step 3:
If we divide 582 by 789, we get 0 and a remainder of 582.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 582 and we're left with 582.
Grab the next digit (6) from the dividend, add it to 582, then carry on: 5826 / 789

Step 4:
789 goes into 5826 7 times with a remainder of 303.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtracting 5523 from 5826 leaves us with 303.
Fetch the next digit (6) from the dividend, attach it to 303 and continue: 3036 / 789

Going ahead to step 5:
3036 divided by 789 is 3 with a remainder of 669.
The number 3 becomes the next digit in our result. 
Result so far: 73.0
Subtract 2367 from 3036 to get 669.
Bring next digit (4) of the dividend behind the 669 and repeat the process: 6694 / 789

Let's proceed to step 6:
6694 divided by 789 is 8 with a remainder of 382.
Record the quotient 8 as the next digit in the result. 
Result so far: 738.0
If we take 6312 away from 6694, we end up with 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

Step 7:
If we divide 3820 by 789, we get 4 and a remainder of 664.
The next digit of our result is 4. 
Result so far: 738.4
Subtract 3156 from 3820 to get 664.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6640, and continue the process.

Step 8:
When dividing 6640 by 789, we get 8 with a remainder of 328.
Write down 8 as next digit of the result. 
Result so far: 738.48
If we take 6312 away from 6640, we end up with 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

On to step 9:
When dividing 3280 by 789, we get 4 with a remainder of 124.
The number 4 becomes the next digit in our result. 
Result so far: 738.484
The remainder is 124 after subtracting 3156 from 3280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Step 10:
The number 789 fits into 1240 1 times, leaving a remainder of 451.
Use 1 as the next digit of our solution. 
Result so far: 738.4841
If we take 789 away from 1240, we end up with 451.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4510, and continue the process.

Moving on to step 11:
789 can be fit into 4510 5 times, resulting in a remainder of 565.
The number 5 becomes the next digit in our result. 
Result so far: 738.48415
Subtracting 3945 from 4510 leaves us with 565.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5650, and continue the process.

Advancing to step 12:
789 can be fit into 5650 7 times, resulting in a remainder of 127.
The number 7 becomes the next digit in our result. 
Result so far: 738.484157
Subtract 5523 from 5650 to get 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

Moving on to step 13:
The number 789 fits into 1270 1 times, leaving a remainder of 481.
The next digit of our result is 1. 
Result so far: 738.4841571
Deduct 789 from 1270 and we're left with 481.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4810, and continue the process.

Moving on to step 14:
When dividing 4810 by 789, we get 6 with a remainder of 76.
Record the quotient 6 as the next digit in the result. 
Result so far: 738.48415716
If we subtract 4734 from 4810, we get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

The final result is 738.48415716 with a remainder of 7.6e-08.