40861218 divided by 557 
We're looking to find how many times 557 goes into 40861218.

Moving on to step 1:
557 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 557

Advancing to step 2:
If we divide 40 by 557, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 557

Moving on to step 3:
557 goes into 408 0 times with a remainder of 408.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 408 to get 408.
Fetch the next digit (6) from the dividend, attach it to 408 and continue: 4086 / 557

Moving on to step 4:
557 can be fit into 4086 7 times, resulting in a remainder of 187.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we subtract 3899 from 4086, we get 187.
Include the next digit (1) from the dividend after 187, then repeat: 1871 / 557

Advancing to step 5:
1871 divided by 557 is 3 with a remainder of 200.
Put 3 as the next digit of the answer. 
Result so far: 73.0
Deduct 1671 from 1871 and we're left with 200.
Fetch the next digit (2) from the dividend, attach it to 200 and continue: 2002 / 557

Let's proceed to step 6:
2002 divided by 557 is 3 with a remainder of 331.
The number 3 becomes the next digit in our result. 
Result so far: 733.0
Deduct 1671 from 2002 and we're left with 331.
Append the next digit (1) from the dividend to 331 and continue with: 3311 / 557

Moving on to step 7:
557 goes into 3311 5 times with a remainder of 526.
Use 5 as the next digit of our solution. 
Result so far: 7335.0
Deduct 2785 from 3311 and we're left with 526.
Take the next digit (8) from the dividend and append it to 526, then repeat: 5268 / 557

Step 8:
557 goes into 5268 9 times with a remainder of 255.
The next digit of our result is 9. 
Result so far: 73359.0
If we take 5013 away from 5268, we end up with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Advancing to step 9:
557 can be fit into 2550 4 times, resulting in a remainder of 322.
Use 4 as the next digit of our solution. 
Result so far: 73359.4
Deduct 2228 from 2550 and we're left with 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Let's proceed to step 10:
If we divide 3220 by 557, we get 5 and a remainder of 435.
The number 5 becomes the next digit in our result. 
Result so far: 73359.45
Subtract 2785 from 3220 to get 435.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4350, and continue the process.

Let's proceed to step 11:
If we divide 4350 by 557, we get 7 and a remainder of 451.
Use 7 as the next digit of our solution. 
Result so far: 73359.457
Subtracting 3899 from 4350 leaves us with 451.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4510, and continue the process.

On to step 12:
If we divide 4510 by 557, we get 8 and a remainder of 54.
The next digit of our result is 8. 
Result so far: 73359.4578
Subtract 4456 from 4510 to get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Going ahead to step 13:
If we divide 540 by 557, we get 0 and a remainder of 540.
Write down 0 as next digit of the result. 
Result so far: 73359.4578
If we take 0 away from 540, we end up with 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Let's proceed to step 14:
557 goes into 5400 9 times with a remainder of 387.
The next digit of our result is 9. 
Result so far: 73359.457809
If we subtract 5013 from 5400, we get 387.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3870, and continue the process.

Going ahead to step 15:
The number 557 fits into 3870 6 times, leaving a remainder of 528.
Record the quotient 6 as the next digit in the result. 
Result so far: 73359.4578096
If we take 3342 away from 3870, we end up with 528.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5280, and continue the process.

Let's proceed to step 16:
If we divide 5280 by 557, we get 9 and a remainder of 267.
The number 9 becomes the next digit in our result. 
Result so far: 73359.45780969
If we subtract 5013 from 5280, we get 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2670, and continue the process.

The final result is 73359.45780969 with a remainder of 2.67e-07.