We divide 40577073 by 89
We want to divide 40577073 by 89.

Let's proceed to step 1:
89 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 89

Moving on to step 2:
The number 89 fits into 40 0 times, leaving a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (5) from the dividend, attach it to 40 and continue: 405 / 89

Going ahead to step 3:
89 can be fit into 405 4 times, resulting in a remainder of 49.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we subtract 356 from 405, we get 49.
Include the next digit (7) from the dividend after 49, then repeat: 497 / 89

Going ahead to step 4:
If we divide 497 by 89, we get 5 and a remainder of 52.
Use 5 as the next digit of our solution. 
Result so far: 45.0
The remainder is 52 after subtracting 445 from 497.
Fetch the next digit (7) from the dividend, attach it to 52 and continue: 527 / 89

Let's proceed to step 5:
When dividing 527 by 89, we get 5 with a remainder of 82.
Put 5 as the next digit of the answer. 
Result so far: 455.0
If we take 445 away from 527, we end up with 82.
Fetch the next digit (0) from the dividend, attach it to 82 and continue: 820 / 89

Let's proceed to step 6:
When dividing 820 by 89, we get 9 with a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 4559.0
If we take 801 away from 820, we end up with 19.
Append the next digit (7) from the dividend to 19 and continue with: 197 / 89

Step 7:
If we divide 197 by 89, we get 2 and a remainder of 19.
Record the quotient 2 as the next digit in the result. 
Result so far: 45592.0
Deduct 178 from 197 and we're left with 19.
Include the next digit (3) from the dividend after 19, then repeat: 193 / 89

On to step 8:
The number 89 fits into 193 2 times, leaving a remainder of 15.
Record the quotient 2 as the next digit in the result. 
Result so far: 455922.0
If we subtract 178 from 193, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 9:
89 goes into 150 1 times with a remainder of 61.
Put 1 as the next digit of the answer. 
Result so far: 455922.1
The remainder is 61 after subtracting 89 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Let's proceed to step 10:
89 goes into 610 6 times with a remainder of 76.
Write down 6 as next digit of the result. 
Result so far: 455922.16
If we take 534 away from 610, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Let's proceed to step 11:
89 can be fit into 760 8 times, resulting in a remainder of 48.
Write down 8 as next digit of the result. 
Result so far: 455922.168
If we subtract 712 from 760, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 12:
480 divided by 89 is 5 with a remainder of 35.
The next digit of our result is 5. 
Result so far: 455922.1685
If we subtract 445 from 480, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 13:
350 divided by 89 is 3 with a remainder of 83.
Use 3 as the next digit of our solution. 
Result so far: 455922.16853
If we take 267 away from 350, we end up with 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Step 14:
830 divided by 89 is 9 with a remainder of 29.
The number 9 becomes the next digit in our result. 
Result so far: 455922.168539
Subtract 801 from 830 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 15:
89 can be fit into 290 3 times, resulting in a remainder of 23.
Put 3 as the next digit of the answer. 
Result so far: 455922.1685393
Subtract 267 from 290 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 16:
The number 89 fits into 230 2 times, leaving a remainder of 52.
Put 2 as the next digit of the answer. 
Result so far: 455922.16853932
Deduct 178 from 230 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

After the division, we end up with 455922.16853932 and a remainder of 5.2e-08.