We're dividing 629636 by 40 
We're looking to find how many times 40 goes into 629636.

On to step 1:
When dividing 6 by 40, we get 0 with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 40

Going ahead to step 2:
When dividing 62 by 40, we get 1 with a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 40 from 62, we get 22.
Fetch the next digit (9) from the dividend, attach it to 22 and continue: 229 / 40

Going ahead to step 3:
When dividing 229 by 40, we get 5 with a remainder of 29.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Subtracting 200 from 229 leaves us with 29.
Include the next digit (6) from the dividend after 29, then repeat: 296 / 40

On to step 4:
40 can be fit into 296 7 times, resulting in a remainder of 16.
The number 7 becomes the next digit in our result. 
Result so far: 157.0
If we take 280 away from 296, we end up with 16.
Append the next digit (3) from the dividend to 16 and continue with: 163 / 40

Let's proceed to step 5:
When dividing 163 by 40, we get 4 with a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 1574.0
Subtracting 160 from 163 leaves us with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 40

Going ahead to step 6:
40 goes into 36 0 times with a remainder of 36.
Use 0 as the next digit of our solution. 
Result so far: 15740.0
Deduct 0 from 36 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 7:
If we divide 360 by 40, we get 9 and a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 15740.9
If we subtract 360 from 360, 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 8:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 15740.9
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.

On to step 9:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 15740.9
The remainder is 0 after subtracting 0 from 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 15740.9, and the remainder is 0.0.