771557 divided by 40 
We're looking to find how many times 40 goes into 771557.

Advancing to step 1:
7 divided by 40 is 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 40

On to step 2:
When dividing 77 by 40, we get 1 with a remainder of 37.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 40 from 77, we get 37.
Bring next digit (1) of the dividend behind the 37 and repeat the process: 371 / 40

Let's proceed to step 3:
40 can be fit into 371 9 times, resulting in a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtract 360 from 371 to get 11.
Include the next digit (5) from the dividend after 11, then repeat: 115 / 40

Moving on to step 4:
40 goes into 115 2 times with a remainder of 35.
Use 2 as the next digit of our solution. 
Result so far: 192.0
If we take 80 away from 115, we end up with 35.
Take the next digit (5) from the dividend and append it to 35, then repeat: 355 / 40

Going ahead to step 5:
If we divide 355 by 40, we get 8 and a remainder of 35.
The next digit of our result is 8. 
Result so far: 1928.0
Subtract 320 from 355 to get 35.
Include the next digit (7) from the dividend after 35, then repeat: 357 / 40

Advancing to step 6:
40 goes into 357 8 times with a remainder of 37.
The number 8 becomes the next digit in our result. 
Result so far: 19288.0
If we subtract 320 from 357, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 7:
The number 40 fits into 370 9 times, leaving a remainder of 10.
Write down 9 as next digit of the result. 
Result so far: 19288.9
Subtracting 360 from 370 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
The next digit of our result is 2. 
Result so far: 19288.92
The remainder is 20 after subtracting 80 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 19288.925
Subtract 200 from 200 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
0 divided by 40 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 19288.925
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 19288.925
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 19288.925 and a remainder of 0.0.