40521580 divided by 873 
We're looking to find how many times 873 goes into 40521580.

Let's proceed to step 1:
873 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 873

Moving on to step 2:
40 divided by 873 is 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Bring next digit (5) of the dividend behind the 40 and repeat the process: 405 / 873

Let's proceed to step 3:
If we divide 405 by 873, we get 0 and a remainder of 405.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 405 to get 405.
Take the next digit (2) from the dividend and append it to 405, then repeat: 4052 / 873

Moving on to step 4:
If we divide 4052 by 873, we get 4 and a remainder of 560.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 3492 from 4052, we get 560.
Take the next digit (1) from the dividend and append it to 560, then repeat: 5601 / 873

Going ahead to step 5:
5601 divided by 873 is 6 with a remainder of 363.
Use 6 as the next digit of our solution. 
Result so far: 46.0
Subtract 5238 from 5601 to get 363.
Include the next digit (5) from the dividend after 363, then repeat: 3635 / 873

Step 6:
If we divide 3635 by 873, we get 4 and a remainder of 143.
Use 4 as the next digit of our solution. 
Result so far: 464.0
If we take 3492 away from 3635, we end up with 143.
Include the next digit (8) from the dividend after 143, then repeat: 1438 / 873

Moving on to step 7:
873 can be fit into 1438 1 times, resulting in a remainder of 565.
Put 1 as the next digit of the answer. 
Result so far: 4641.0
The remainder is 565 after subtracting 873 from 1438.
Include the next digit (0) from the dividend after 565, then repeat: 5650 / 873

On to step 8:
The number 873 fits into 5650 6 times, leaving a remainder of 412.
Use 6 as the next digit of our solution. 
Result so far: 46416.0
Subtracting 5238 from 5650 leaves us 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.

Let's proceed to step 9:
873 goes into 4120 4 times with a remainder of 628.
The next digit of our result is 4. 
Result so far: 46416.4
Subtracting 3492 from 4120 leaves us with 628.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6280, and continue the process.

On to step 10:
When dividing 6280 by 873, we get 7 with a remainder of 169.
Record the quotient 7 as the next digit in the result. 
Result so far: 46416.47
Subtracting 6111 from 6280 leaves us with 169.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1690, and continue the process.

Let's proceed to step 11:
873 can be fit into 1690 1 times, resulting in a remainder of 817.
Record the quotient 1 as the next digit in the result. 
Result so far: 46416.471
If we subtract 873 from 1690, we get 817.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8170, and continue the process.

On to step 12:
873 goes into 8170 9 times with a remainder of 313.
Write down 9 as next digit of the result. 
Result so far: 46416.4719
Subtract 7857 from 8170 to get 313.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3130, and continue the process.

Let's proceed to step 13:
When dividing 3130 by 873, we get 3 with a remainder of 511.
The next digit of our result is 3. 
Result so far: 46416.47193
If we take 2619 away from 3130, we end up with 511.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5110, and continue the process.

Moving on to step 14:
If we divide 5110 by 873, we get 5 and a remainder of 745.
Write down 5 as next digit of the result. 
Result so far: 46416.471935
If we subtract 4365 from 5110, we get 745.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7450, and continue the process.

Going ahead to step 15:
873 can be fit into 7450 8 times, resulting in a remainder of 466.
Write down 8 as next digit of the result. 
Result so far: 46416.4719358
If we subtract 6984 from 7450, we get 466.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4660, and continue the process.

Step 16:
When dividing 4660 by 873, we get 5 with a remainder of 295.
Record the quotient 5 as the next digit in the result. 
Result so far: 46416.47193585
If we take 4365 away from 4660, we end up with 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

The final result is 46416.47193585 with a remainder of 2.95e-07.