150123 divided by 40 
We're looking to find how many times 40 goes into 150123.

Let's proceed to step 1:
1 divided by 40 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 40

On to step 2:
When dividing 15 by 40, we get 0 with a remainder of 15.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 15, we end up with 15.
Include the next digit (0) from the dividend after 15, then repeat: 150 / 40

On to step 3:
40 goes into 150 3 times with a remainder of 30.
The next digit of our result is 3. 
Result so far: 3.0
If we take 120 away from 150, we end up with 30.
Take the next digit (1) from the dividend and append it to 30, then repeat: 301 / 40

Advancing to step 4:
When dividing 301 by 40, we get 7 with a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 37.0
If we subtract 280 from 301, we get 21.
Fetch the next digit (2) from the dividend, attach it to 21 and continue: 212 / 40

Advancing to step 5:
When dividing 212 by 40, we get 5 with a remainder of 12.
Use 5 as the next digit of our solution. 
Result so far: 375.0
The remainder is 12 after subtracting 200 from 212.
Fetch the next digit (3) from the dividend, attach it to 12 and continue: 123 / 40

Let's proceed to step 6:
40 can be fit into 123 3 times, resulting in a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 3753.0
If we take 120 away from 123, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
40 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 3753.0
Subtract 0 from 30 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.

Step 8:
40 goes into 300 7 times with a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 3753.07
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.

Going ahead to step 9:
200 divided by 40 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 3753.075
Subtracting 200 from 200 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.

Step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 3753.075
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.

Going ahead to step 11:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 3753.075
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 3753.075, with a leftover of 0.0.