We're dividing 3987721 by 564 
We want to figure out the number of times 3987721 can be divided by 564.

Advancing to step 1:
564 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 564

On to step 2:
564 goes into 39 0 times with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 564

Let's proceed to step 3:
If we divide 398 by 564, we get 0 and a remainder of 398.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 398 to get 398.
Include the next digit (7) from the dividend after 398, then repeat: 3987 / 564

Let's proceed to step 4:
564 goes into 3987 7 times with a remainder of 39.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtract 3948 from 3987 to get 39.
Append the next digit (7) from the dividend to 39 and continue with: 397 / 564

Step 5:
When dividing 397 by 564, we get 0 with a remainder of 397.
Use 0 as the next digit of our solution. 
Result so far: 70.0
If we take 0 away from 397, we end up with 397.
Append the next digit (2) from the dividend to 397 and continue with: 3972 / 564

Step 6:
3972 divided by 564 is 7 with a remainder of 24.
The next digit of our result is 7. 
Result so far: 707.0
Subtracting 3948 from 3972 leaves us with 24.
Fetch the next digit (1) from the dividend, attach it to 24 and continue: 241 / 564

Advancing to step 7:
564 goes into 241 0 times with a remainder of 241.
Record the quotient 0 as the next digit in the result. 
Result so far: 7070.0
If we take 0 away from 241, we end up with 241.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2410, and continue the process.

Going ahead to step 8:
The number 564 fits into 2410 4 times, leaving a remainder of 154.
Put 4 as the next digit of the answer. 
Result so far: 7070.4
If we take 2256 away from 2410, we end up with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Let's proceed to step 9:
The number 564 fits into 1540 2 times, leaving a remainder of 412.
Record the quotient 2 as the next digit in the result. 
Result so far: 7070.42
If we take 1128 away from 1540, we end up with 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:
564 goes into 4120 7 times with a remainder of 172.
Use 7 as the next digit of our solution. 
Result so far: 7070.427
Deduct 3948 from 4120 and we're left with 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Moving on to step 11:
564 can be fit into 1720 3 times, resulting in a remainder of 28.
The number 3 becomes the next digit in our result. 
Result so far: 7070.4273
If we subtract 1692 from 1720, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 12:
The number 564 fits into 280 0 times, leaving a remainder of 280.
Use 0 as the next digit of our solution. 
Result so far: 7070.4273
Deduct 0 from 280 and we're left with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Step 13:
2800 divided by 564 is 4 with a remainder of 544.
The next digit of our result is 4. 
Result so far: 7070.427304
Subtract 2256 from 2800 to get 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

Step 14:
If we divide 5440 by 564, we get 9 and a remainder of 364.
Put 9 as the next digit of the answer. 
Result so far: 7070.4273049
Subtract 5076 from 5440 to get 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

Advancing to step 15:
When dividing 3640 by 564, we get 6 with a remainder of 256.
Write down 6 as next digit of the result. 
Result so far: 7070.42730496
If we subtract 3384 from 3640, we get 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

In conclusion, the division gives 7070.42730496 with a balance of 2.56e-07.