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

Going ahead to step 1:
4 divided by 909 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 909

Step 2:
The number 909 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 909

Going ahead to step 3:
909 goes into 400 0 times with a remainder of 400.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 400 and we're left with 400.
Take the next digit (3) from the dividend and append it to 400, then repeat: 4003 / 909

Moving on to step 4:
4003 divided by 909 is 4 with a remainder of 367.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 3636 from 4003 leaves us with 367.
Fetch the next digit (8) from the dividend, attach it to 367 and continue: 3678 / 909

Step 5:
909 goes into 3678 4 times with a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 44.0
If we subtract 3636 from 3678, we get 42.
Append the next digit (1) from the dividend to 42 and continue with: 421 / 909

Moving on to step 6:
421 divided by 909 is 0 with a remainder of 421.
The number 0 becomes the next digit in our result. 
Result so far: 440.0
Subtracting 0 from 421 leaves us with 421.
Include the next digit (5) from the dividend after 421, then repeat: 4215 / 909

On to step 7:
When dividing 4215 by 909, we get 4 with a remainder of 579.
Put 4 as the next digit of the answer. 
Result so far: 4404.0
If we take 3636 away from 4215, we end up with 579.
Bring next digit (7) of the dividend behind the 579 and repeat the process: 5797 / 909

Moving on to step 8:
The number 909 fits into 5797 6 times, leaving a remainder of 343.
The number 6 becomes the next digit in our result. 
Result so far: 44046.0
If we subtract 5454 from 5797, we get 343.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3430, and continue the process.

On to step 9:
The number 909 fits into 3430 3 times, leaving a remainder of 703.
Use 3 as the next digit of our solution. 
Result so far: 44046.3
Deduct 2727 from 3430 and we're left with 703.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7030, and continue the process.

Step 10:
909 can be fit into 7030 7 times, resulting in a remainder of 667.
Record the quotient 7 as the next digit in the result. 
Result so far: 44046.37
If we subtract 6363 from 7030, we get 667.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6670, and continue the process.

Moving on to step 11:
909 can be fit into 6670 7 times, resulting in a remainder of 307.
Record the quotient 7 as the next digit in the result. 
Result so far: 44046.377
Subtracting 6363 from 6670 leaves us with 307.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3070, and continue the process.

Our division results in 44046.377 with a remaining 0.0307.