Let's divide 4041772 by 587
We want to figure out the number of times 4041772 can be divided by 587.

Let's proceed to step 1:
4 divided by 587 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 587

Let's proceed to step 2:
587 goes into 40 0 times with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (4) from the dividend and append it to 40, then repeat: 404 / 587

Let's proceed to step 3:
587 goes into 404 0 times with a remainder of 404.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 404 after subtracting 0 from 404.
Include the next digit (1) from the dividend after 404, then repeat: 4041 / 587

On to step 4:
When dividing 4041 by 587, we get 6 with a remainder of 519.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we subtract 3522 from 4041, we get 519.
Bring next digit (7) of the dividend behind the 519 and repeat the process: 5197 / 587

Moving on to step 5:
The number 587 fits into 5197 8 times, leaving a remainder of 501.
The number 8 becomes the next digit in our result. 
Result so far: 68.0
If we take 4696 away from 5197, we end up with 501.
Grab the next digit (7) from the dividend, add it to 501, then carry on: 5017 / 587

Moving on to step 6:
The number 587 fits into 5017 8 times, leaving a remainder of 321.
The number 8 becomes the next digit in our result. 
Result so far: 688.0
Subtracting 4696 from 5017 leaves us with 321.
Include the next digit (2) from the dividend after 321, then repeat: 3212 / 587

Advancing to step 7:
587 goes into 3212 5 times with a remainder of 277.
The number 5 becomes the next digit in our result. 
Result so far: 6885.0
The remainder is 277 after subtracting 2935 from 3212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2770, and continue the process.

Going ahead to step 8:
2770 divided by 587 is 4 with a remainder of 422.
Put 4 as the next digit of the answer. 
Result so far: 6885.4
If we subtract 2348 from 2770, we get 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Step 9:
When dividing 4220 by 587, we get 7 with a remainder of 111.
Use 7 as the next digit of our solution. 
Result so far: 6885.47
Subtract 4109 from 4220 to get 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1110, and continue the process.

Advancing to step 10:
587 can be fit into 1110 1 times, resulting in a remainder of 523.
Record the quotient 1 as the next digit in the result. 
Result so far: 6885.471
If we take 587 away from 1110, we end up with 523.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5230, and continue the process.

Moving on to step 11:
5230 divided by 587 is 8 with a remainder of 534.
The number 8 becomes the next digit in our result. 
Result so far: 6885.4718
If we take 4696 away from 5230, we end up with 534.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5340, and continue the process.

Going ahead to step 12:
When dividing 5340 by 587, we get 9 with a remainder of 57.
Record the quotient 9 as the next digit in the result. 
Result so far: 6885.47189
Subtracting 5283 from 5340 leaves us with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Let's proceed to step 13:
587 can be fit into 570 0 times, resulting in a remainder of 570.
Use 0 as the next digit of our solution. 
Result so far: 6885.47189
If we take 0 away from 570, we end up with 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

Moving on to step 14:
587 can be fit into 5700 9 times, resulting in a remainder of 417.
Use 9 as the next digit of our solution. 
Result so far: 6885.4718909
Subtracting 5283 from 5700 leaves us with 417.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4170, and continue the process.

Step 15:
The number 587 fits into 4170 7 times, leaving a remainder of 61.
Write down 7 as next digit of the result. 
Result so far: 6885.47189097
If we take 4109 away from 4170, we end up with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

The final outcome is 6885.47189097, with a leftover of 6.1e-08.