We divide 40771559 by 801
We want to divide 40771559 by 801.

Going ahead to step 1:
801 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
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 801

Going ahead to step 2:
If we divide 40 by 801, we get 0 and a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (7) from the dividend, add it to 40, then carry on: 407 / 801

On to step 3:
801 can be fit into 407 0 times, resulting in a remainder of 407.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 407 leaves us with 407.
Bring next digit (7) of the dividend behind the 407 and repeat the process: 4077 / 801

Advancing to step 4:
801 goes into 4077 5 times with a remainder of 72.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we take 4005 away from 4077, we end up with 72.
Bring next digit (1) of the dividend behind the 72 and repeat the process: 721 / 801

Step 5:
The number 801 fits into 721 0 times, leaving a remainder of 721.
Put 0 as the next digit of the answer. 
Result so far: 50.0
If we take 0 away from 721, we end up with 721.
Fetch the next digit (5) from the dividend, attach it to 721 and continue: 7215 / 801

Step 6:
801 can be fit into 7215 9 times, resulting in a remainder of 6.
The next digit of our result is 9. 
Result so far: 509.0
If we subtract 7209 from 7215, we get 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 801

Let's proceed to step 7:
The number 801 fits into 65 0 times, leaving a remainder of 65.
Put 0 as the next digit of the answer. 
Result so far: 5090.0
The remainder is 65 after subtracting 0 from 65.
Include the next digit (9) from the dividend after 65, then repeat: 659 / 801

Moving on to step 8:
If we divide 659 by 801, we get 0 and a remainder of 659.
The next digit of our result is 0. 
Result so far: 50900.0
The remainder is 659 after subtracting 0 from 659.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6590, and continue the process.

Let's proceed to step 9:
The number 801 fits into 6590 8 times, leaving a remainder of 182.
Use 8 as the next digit of our solution. 
Result so far: 50900.8
If we take 6408 away from 6590, we end up with 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Moving on to step 10:
801 goes into 1820 2 times with a remainder of 218.
The next digit of our result is 2. 
Result so far: 50900.82
Subtracting 1602 from 1820 leaves us with 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Let's proceed to step 11:
The number 801 fits into 2180 2 times, leaving a remainder of 578.
Put 2 as the next digit of the answer. 
Result so far: 50900.822
Subtract 1602 from 2180 to get 578.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5780, and continue the process.

The final result is 50900.822 with a remainder of 0.0578.