40897431 divided by 589 
We want to divide 40897431 by 589.

Let's proceed to step 1:
4 divided by 589 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
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 / 589

Moving on to step 2:
40 divided by 589 is 0 with 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.
Fetch the next digit (8) from the dividend, attach it to 40 and continue: 408 / 589

On to step 3:
589 goes into 408 0 times with a remainder of 408.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 408 and we're left with 408.
Append the next digit (9) from the dividend to 408 and continue with: 4089 / 589

Let's proceed to step 4:
When dividing 4089 by 589, we get 6 with a remainder of 555.
Write down 6 as next digit of the result. 
Result so far: 6.0
Subtracting 3534 from 4089 leaves us with 555.
Include the next digit (7) from the dividend after 555, then repeat: 5557 / 589

Let's proceed to step 5:
When dividing 5557 by 589, we get 9 with a remainder of 256.
Write down 9 as next digit of the result. 
Result so far: 69.0
Deduct 5301 from 5557 and we're left with 256.
Take the next digit (4) from the dividend and append it to 256, then repeat: 2564 / 589

Moving on to step 6:
If we divide 2564 by 589, we get 4 and a remainder of 208.
Put 4 as the next digit of the answer. 
Result so far: 694.0
If we subtract 2356 from 2564, we get 208.
Include the next digit (3) from the dividend after 208, then repeat: 2083 / 589

Step 7:
If we divide 2083 by 589, we get 3 and a remainder of 316.
Put 3 as the next digit of the answer. 
Result so far: 6943.0
Subtract 1767 from 2083 to get 316.
Fetch the next digit (1) from the dividend, attach it to 316 and continue: 3161 / 589

Moving on to step 8:
589 goes into 3161 5 times with a remainder of 216.
The number 5 becomes the next digit in our result. 
Result so far: 69435.0
Subtract 2945 from 3161 to get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Moving on to step 9:
589 can be fit into 2160 3 times, resulting in a remainder of 393.
Put 3 as the next digit of the answer. 
Result so far: 69435.3
If we subtract 1767 from 2160, we get 393.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3930, and continue the process.

Moving on to step 10:
If we divide 3930 by 589, we get 6 and a remainder of 396.
Record the quotient 6 as the next digit in the result. 
Result so far: 69435.36
The remainder is 396 after subtracting 3534 from 3930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

Moving on to step 11:
When dividing 3960 by 589, we get 6 with a remainder of 426.
Write down 6 as next digit of the result. 
Result so far: 69435.366
If we subtract 3534 from 3960, we get 426.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

After the division, we end up with 69435.366 and a remainder of 0.0426.