49897 divided by 40 
Let's see how many times 40 fits into 49897.

Going ahead to step 1:
If we divide 4 by 40, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 40

Step 2:
The number 40 fits into 49 1 times, leaving a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 40 from 49, we get 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 40

Moving on to step 3:
40 goes into 98 2 times with a remainder of 18.
The next digit of our result is 2. 
Result so far: 12.0
The remainder is 18 after subtracting 80 from 98.
Bring next digit (9) of the dividend behind the 18 and repeat the process: 189 / 40

Step 4:
When dividing 189 by 40, we get 4 with a remainder of 29.
The number 4 becomes the next digit in our result. 
Result so far: 124.0
If we take 160 away from 189, we end up with 29.
Fetch the next digit (7) from the dividend, attach it to 29 and continue: 297 / 40

Going ahead to step 5:
If we divide 297 by 40, we get 7 and a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 1247.0
Subtract 280 from 297 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 6:
40 goes into 170 4 times with a remainder of 10.
The next digit of our result is 4. 
Result so far: 1247.4
The remainder is 10 after subtracting 160 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 7:
40 can be fit into 100 2 times, resulting in a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 1247.42
Subtracting 80 from 100 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.

Advancing to step 8:
40 goes into 200 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 1247.425
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.

On to step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1247.425
If we take 0 away from 0, 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:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1247.425
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.

Our division results in 1247.425 with a remaining 0.0.