777241 divided by 40 
We want to divide 777241 by 40.

Moving on to step 1:
The number 40 fits into 7 0 times, leaving a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 40

Step 2:
When dividing 77 by 40, we get 1 with a remainder of 37.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 40 from 77 and we're left with 37.
Grab the next digit (7) from the dividend, add it to 37, then carry on: 377 / 40

Advancing to step 3:
40 can be fit into 377 9 times, resulting in a remainder of 17.
The next digit of our result is 9. 
Result so far: 19.0
The remainder is 17 after subtracting 360 from 377.
Bring next digit (2) of the dividend behind the 17 and repeat the process: 172 / 40

Step 4:
If we divide 172 by 40, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 194.0
The remainder is 12 after subtracting 160 from 172.
Bring next digit (4) of the dividend behind the 12 and repeat the process: 124 / 40

Moving on to step 5:
The number 40 fits into 124 3 times, leaving a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 1943.0
If we take 120 away from 124, we end up with 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 40

Moving on to step 6:
The number 40 fits into 41 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 19431.0
The remainder is 1 after subtracting 40 from 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
When dividing 10 by 40, we get 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 19431.0
The remainder is 10 after subtracting 0 from 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 goes into 100 2 times with a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 19431.02
Subtract 80 from 100 to get 20.
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:
When dividing 200 by 40, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 19431.025
Subtracting 200 from 200 leaves us 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.

Let's proceed to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 19431.025
If we subtract 0 from 0, we 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.

Going ahead to step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19431.025
If we subtract 0 from 0, we 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.

The quotient of the division is 19431.025, and the remainder is 0.0.