Let's divide 9765731 by 664
We want to divide 9765731 by 664.

Going ahead to step 1:
664 goes into 9 0 times with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 664

On to step 2:
When dividing 97 by 664, we get 0 with a remainder of 97.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 97, we get 97.
Take the next digit (6) from the dividend and append it to 97, then repeat: 976 / 664

Advancing to step 3:
The number 664 fits into 976 1 times, leaving a remainder of 312.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 664 from 976 and we're left with 312.
Take the next digit (5) from the dividend and append it to 312, then repeat: 3125 / 664

Let's proceed to step 4:
3125 divided by 664 is 4 with a remainder of 469.
Put 4 as the next digit of the answer. 
Result so far: 14.0
If we subtract 2656 from 3125, we get 469.
Include the next digit (7) from the dividend after 469, then repeat: 4697 / 664

Step 5:
4697 divided by 664 is 7 with a remainder of 49.
Record the quotient 7 as the next digit in the result. 
Result so far: 147.0
The remainder is 49 after subtracting 4648 from 4697.
Append the next digit (3) from the dividend to 49 and continue with: 493 / 664

Step 6:
664 goes into 493 0 times with a remainder of 493.
The number 0 becomes the next digit in our result. 
Result so far: 1470.0
If we subtract 0 from 493, we get 493.
Append the next digit (1) from the dividend to 493 and continue with: 4931 / 664

Advancing to step 7:
If we divide 4931 by 664, we get 7 and a remainder of 283.
Write down 7 as next digit of the result. 
Result so far: 14707.0
Subtracting 4648 from 4931 leaves us with 283.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2830, and continue the process.

Step 8:
664 goes into 2830 4 times with a remainder of 174.
Write down 4 as next digit of the result. 
Result so far: 14707.4
If we subtract 2656 from 2830, we get 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

Going ahead to step 9:
If we divide 1740 by 664, we get 2 and a remainder of 412.
Put 2 as the next digit of the answer. 
Result so far: 14707.42
Subtract 1328 from 1740 to get 412.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4120, and continue the process.

Step 10:
The number 664 fits into 4120 6 times, leaving a remainder of 136.
Use 6 as the next digit of our solution. 
Result so far: 14707.426
Deduct 3984 from 4120 and we're left with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

On to step 11:
The number 664 fits into 1360 2 times, leaving a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 14707.4262
Subtract 1328 from 1360 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.

Moving on to step 12:
664 goes into 320 0 times with a remainder of 320.
The next digit of our result is 0. 
Result so far: 14707.4262
If we take 0 away from 320, we end up with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Step 13:
664 goes into 3200 4 times with a remainder of 544.
The number 4 becomes the next digit in our result. 
Result so far: 14707.426204
If we take 2656 away from 3200, we end up with 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

Going ahead to step 14:
When dividing 5440 by 664, we get 8 with a remainder of 128.
Use 8 as the next digit of our solution. 
Result so far: 14707.4262048
Deduct 5312 from 5440 and we're left with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

On to step 15:
1280 divided by 664 is 1 with a remainder of 616.
The number 1 becomes the next digit in our result. 
Result so far: 14707.42620481
If we take 664 away from 1280, we end up with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

The final outcome is 14707.42620481, with a leftover of 6.16e-07.