154955 divided by 40 
We want to figure out the number of times 154955 can be divided by 40.

Going ahead to step 1:
1 divided by 40 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 40

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
Deduct 0 from 15 and we're left with 15.
Grab the next digit (4) from the dividend, add it to 15, then carry on: 154 / 40

Advancing to step 3:
40 goes into 154 3 times with a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 120 from 154 to get 34.
Append the next digit (9) from the dividend to 34 and continue with: 349 / 40

On to step 4:
349 divided by 40 is 8 with a remainder of 29.
Write down 8 as next digit of the result. 
Result so far: 38.0
The remainder is 29 after subtracting 320 from 349.
Take the next digit (5) from the dividend and append it to 29, then repeat: 295 / 40

Advancing to step 5:
40 can be fit into 295 7 times, resulting in a remainder of 15.
The next digit of our result is 7. 
Result so far: 387.0
Deduct 280 from 295 and we're left with 15.
Bring next digit (5) of the dividend behind the 15 and repeat the process: 155 / 40

Going ahead to step 6:
When dividing 155 by 40, we get 3 with a remainder of 35.
Put 3 as the next digit of the answer. 
Result so far: 3873.0
If we subtract 120 from 155, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 7:
350 divided by 40 is 8 with a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 3873.8
Deduct 320 from 350 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.

On to step 8:
40 goes into 300 7 times with a remainder of 20.
The next digit of our result is 7. 
Result so far: 3873.87
If we subtract 280 from 300, we get 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.
Record the quotient 5 as the next digit in the result. 
Result so far: 3873.875
Subtract 200 from 200 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.

On to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 3873.875
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.

Let's proceed to step 11:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 3873.875
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 3873.875, and the remainder is 0.0.