We're dividing 49855 by 40 
We want to figure out the number of times 49855 can be divided by 40.

Advancing to step 1:
4 divided by 40 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 40

On to step 2:
If we divide 49 by 40, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 40 from 49 and we're left with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 40

On to step 3:
The number 40 fits into 98 2 times, leaving a remainder of 18.
The next digit of our result is 2. 
Result so far: 12.0
If we take 80 away from 98, we end up with 18.
Fetch the next digit (5) from the dividend, attach it to 18 and continue: 185 / 40

Going ahead to step 4:
185 divided by 40 is 4 with a remainder of 25.
Put 4 as the next digit of the answer. 
Result so far: 124.0
The remainder is 25 after subtracting 160 from 185.
Take the next digit (5) from the dividend and append it to 25, then repeat: 255 / 40

Moving on to step 5:
255 divided by 40 is 6 with a remainder of 15.
Put 6 as the next digit of the answer. 
Result so far: 1246.0
The remainder is 15 after subtracting 240 from 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 6:
When dividing 150 by 40, we get 3 with a remainder of 30.
Put 3 as the next digit of the answer. 
Result so far: 1246.3
Subtracting 120 from 150 leaves us 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.

Advancing to step 7:
40 can be fit into 300 7 times, resulting in a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 1246.37
Subtract 280 from 300 to 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 8:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 1246.375
Deduct 200 from 200 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 9:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 1246.375
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.

On to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 1246.375
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.

Our division results in 1246.375 with a remaining 0.0.