Let's divide 629599 by 40
We want to divide 629599 by 40.

Step 1:
6 divided by 40 is 0 with a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Fetch the next digit (2) from the dividend, attach it to 6 and continue: 62 / 40

On 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
Subtracting 40 from 62 leaves us with 22.
Append the next digit (9) from the dividend to 22 and continue with: 229 / 40

Moving on to step 3:
If we divide 229 by 40, we get 5 and a remainder of 29.
Use 5 as the next digit of our solution. 
Result so far: 15.0
Subtracting 200 from 229 leaves us with 29.
Fetch the next digit (5) from the dividend, attach it to 29 and continue: 295 / 40

Let's proceed to step 4:
The number 40 fits into 295 7 times, leaving a remainder of 15.
Use 7 as the next digit of our solution. 
Result so far: 157.0
If we take 280 away from 295, we end up with 15.
Take the next digit (9) from the dividend and append it to 15, then repeat: 159 / 40

Step 5:
40 can be fit into 159 3 times, resulting in a remainder of 39.
The number 3 becomes the next digit in our result. 
Result so far: 1573.0
If we subtract 120 from 159, we get 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 40

Advancing to step 6:
40 can be fit into 399 9 times, resulting in a remainder of 39.
Put 9 as the next digit of the answer. 
Result so far: 15739.0
Deduct 360 from 399 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 7:
If we divide 390 by 40, we get 9 and a remainder of 30.
The next digit of our result is 9. 
Result so far: 15739.9
Subtract 360 from 390 to 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.

Let's proceed to step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 15739.97
Deduct 280 from 300 and we're left 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.

Advancing to step 9:
200 divided by 40 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 15739.975
The remainder is 0 after subtracting 200 from 200.
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 10:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 15739.975
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.

Moving on to step 11:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 15739.975
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.

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