40041 ÷ 51 
We want to figure out the number of times 40041 can be divided by 51.

Going ahead to step 1:
If we divide 4 by 51, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 51

Going ahead to step 2:
If we divide 40 by 51, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
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 / 51

Going ahead to step 3:
When dividing 400 by 51, we get 7 with a remainder of 43.
Use 7 as the next digit of our solution. 
Result so far: 7.0
If we subtract 357 from 400, we get 43.
Append the next digit (4) from the dividend to 43 and continue with: 434 / 51

Step 4:
51 goes into 434 8 times with a remainder of 26.
The next digit of our result is 8. 
Result so far: 78.0
If we take 408 away from 434, we end up with 26.
Bring next digit (1) of the dividend behind the 26 and repeat the process: 261 / 51

Moving on to step 5:
If we divide 261 by 51, we get 5 and a remainder of 6.
The next digit of our result is 5. 
Result so far: 785.0
Deduct 255 from 261 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 6:
51 can be fit into 60 1 times, resulting in a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 785.1
If we subtract 51 from 60, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 7:
The number 51 fits into 90 1 times, leaving a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 785.11
Deduct 51 from 90 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Our division results in 785.11 with a remaining 0.039.