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

Step 1:
If we divide 3 by 40, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 40

Moving on to step 2:
40 goes into 38 0 times with a remainder of 38.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 38, we get 38.
Append the next digit (6) from the dividend to 38 and continue with: 386 / 40

On to step 3:
40 goes into 386 9 times with a remainder of 26.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Deduct 360 from 386 and we're left with 26.
Append the next digit (6) from the dividend to 26 and continue with: 266 / 40

On to step 4:
266 divided by 40 is 6 with a remainder of 26.
The number 6 becomes the next digit in our result. 
Result so far: 96.0
Subtract 240 from 266 to get 26.
Append the next digit (1) from the dividend to 26 and continue with: 261 / 40

Going ahead to step 5:
When dividing 261 by 40, we get 6 with a remainder of 21.
The next digit of our result is 6. 
Result so far: 966.0
Deduct 240 from 261 and we're left with 21.
Grab the next digit (9) from the dividend, add it to 21, then carry on: 219 / 40

Let's proceed to step 6:
40 can be fit into 219 5 times, resulting in a remainder of 19.
The next digit of our result is 5. 
Result so far: 9665.0
Deduct 200 from 219 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 7:
40 goes into 190 4 times with a remainder of 30.
The number 4 becomes the next digit in our result. 
Result so far: 9665.4
Deduct 160 from 190 and we're left with 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:
The number 40 fits into 300 7 times, leaving a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 9665.47
Subtracting 280 from 300 leaves us 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.

Let's proceed to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 9665.475
If we take 200 away from 200, 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.

Moving on 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: 9665.475
Subtract 0 from 0 to 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 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 9665.475
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 final outcome is 9665.475, with a leftover of 0.0.