Let's divide 774143 by 40
We're looking to find how many times 40 goes into 774143.

Let's proceed to step 1:
The number 40 fits into 7 0 times, leaving a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 40

Let's proceed to step 2:
40 goes into 77 1 times with a remainder of 37.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 40 from 77 to get 37.
Bring next digit (4) of the dividend behind the 37 and repeat the process: 374 / 40

Step 3:
When dividing 374 by 40, we get 9 with a remainder of 14.
Write down 9 as next digit of the result. 
Result so far: 19.0
Deduct 360 from 374 and we're left with 14.
Bring next digit (1) of the dividend behind the 14 and repeat the process: 141 / 40

Step 4:
If we divide 141 by 40, we get 3 and a remainder of 21.
Use 3 as the next digit of our solution. 
Result so far: 193.0
Subtract 120 from 141 to get 21.
Include the next digit (4) from the dividend after 21, then repeat: 214 / 40

On to step 5:
When dividing 214 by 40, we get 5 with a remainder of 14.
The number 5 becomes the next digit in our result. 
Result so far: 1935.0
Subtract 200 from 214 to get 14.
Fetch the next digit (3) from the dividend, attach it to 14 and continue: 143 / 40

Step 6:
If we divide 143 by 40, we get 3 and a remainder of 23.
The number 3 becomes the next digit in our result. 
Result so far: 19353.0
Subtract 120 from 143 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.

On to step 7:
If we divide 230 by 40, we get 5 and a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 19353.5
If we subtract 200 from 230, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 19353.57
If we take 280 away from 300, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
200 divided by 40 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 19353.575
If we subtract 200 from 200, 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.

Step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 19353.575
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.

Moving on to step 11:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19353.575
If we take 0 away from 0, we end up 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.

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