We divide 40315841 by 580
We're looking to find how many times 580 goes into 40315841.

On to step 1:
4 divided by 580 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 580

Step 2:
580 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 580

Going ahead to step 3:
If we divide 403 by 580, we get 0 and a remainder of 403.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 403 leaves us with 403.
Bring next digit (1) of the dividend behind the 403 and repeat the process: 4031 / 580

Step 4:
If we divide 4031 by 580, we get 6 and a remainder of 551.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 3480 from 4031, we get 551.
Grab the next digit (5) from the dividend, add it to 551, then carry on: 5515 / 580

Moving on to step 5:
580 can be fit into 5515 9 times, resulting in a remainder of 295.
Write down 9 as next digit of the result. 
Result so far: 69.0
Subtract 5220 from 5515 to get 295.
Include the next digit (8) from the dividend after 295, then repeat: 2958 / 580

Moving on to step 6:
2958 divided by 580 is 5 with a remainder of 58.
The number 5 becomes the next digit in our result. 
Result so far: 695.0
If we subtract 2900 from 2958, we get 58.
Append the next digit (4) from the dividend to 58 and continue with: 584 / 580

On to step 7:
580 goes into 584 1 times with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 6951.0
If we subtract 580 from 584, we get 4.
Append the next digit (1) from the dividend to 4 and continue with: 41 / 580

Step 8:
580 goes into 41 0 times with a remainder of 41.
Use 0 as the next digit of our solution. 
Result so far: 69510.0
If we subtract 0 from 41, we get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Moving on to step 9:
580 can be fit into 410 0 times, resulting in a remainder of 410.
The number 0 becomes the next digit in our result. 
Result so far: 69510.0
If we subtract 0 from 410, we get 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Advancing to step 10:
When dividing 4100 by 580, we get 7 with a remainder of 40.
Use 7 as the next digit of our solution. 
Result so far: 69510.07
Deduct 4060 from 4100 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 11:
If we divide 400 by 580, we get 0 and a remainder of 400.
The number 0 becomes the next digit in our result. 
Result so far: 69510.07
If we take 0 away from 400, we end up with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Going ahead to step 12:
4000 divided by 580 is 6 with a remainder of 520.
Use 6 as the next digit of our solution. 
Result so far: 69510.0706
The remainder is 520 after subtracting 3480 from 4000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Step 13:
If we divide 5200 by 580, we get 8 and a remainder of 560.
The next digit of our result is 8. 
Result so far: 69510.07068
If we take 4640 away from 5200, we end up with 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Moving on to step 14:
The number 580 fits into 5600 9 times, leaving a remainder of 380.
The next digit of our result is 9. 
Result so far: 69510.070689
Subtract 5220 from 5600 to get 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Going ahead to step 15:
580 goes into 3800 6 times with a remainder of 320.
The number 6 becomes the next digit in our result. 
Result so far: 69510.0706896
The remainder is 320 after subtracting 3480 from 3800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Advancing to step 16:
The number 580 fits into 3200 5 times, leaving a remainder of 300.
The number 5 becomes the next digit in our result. 
Result so far: 69510.07068965
If we take 2900 away from 3200, we end up with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

The final outcome is 69510.07068965, with a leftover of 3e-07.