We divide 386629 by 40
We want to divide 386629 by 40.

Going ahead to step 1:
3 divided by 40 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 40

Let's proceed to step 2:
40 goes into 38 0 times with a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 38 and we're left with 38.
Include the next digit (6) from the dividend after 38, then repeat: 386 / 40

Going ahead to step 3:
The number 40 fits into 386 9 times, leaving a remainder of 26.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtracting 360 from 386 leaves us with 26.
Take the next digit (6) from the dividend and append it to 26, then repeat: 266 / 40

Going ahead to step 4:
When dividing 266 by 40, we get 6 with a remainder of 26.
The number 6 becomes the next digit in our result. 
Result so far: 96.0
Subtracting 240 from 266 leaves us with 26.
Fetch the next digit (2) from the dividend, attach it to 26 and continue: 262 / 40

Let's proceed to step 5:
If we divide 262 by 40, we get 6 and a remainder of 22.
Use 6 as the next digit of our solution. 
Result so far: 966.0
Subtracting 240 from 262 leaves us with 22.
Take the next digit (9) from the dividend and append it to 22, then repeat: 229 / 40

Moving on to step 6:
40 goes into 229 5 times with a remainder of 29.
Write down 5 as next digit of the result. 
Result so far: 9665.0
If we take 200 away from 229, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 7:
The number 40 fits into 290 7 times, leaving a remainder of 10.
Write down 7 as next digit of the result. 
Result so far: 9665.7
The remainder is 10 after subtracting 280 from 290.
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.
Record the quotient 2 as the next digit in the result. 
Result so far: 9665.72
If we take 80 away from 100, 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.

Moving on to step 9:
200 divided by 40 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 9665.725
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.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 9665.725
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.

Moving on to step 11:
0 divided by 40 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 9665.725
Subtracting 0 from 0 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.

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