Let's divide 40795241 by 2
We want to figure out the number of times 40795241 can be divided by 2.

Moving on to step 1:
The number 2 fits into 4 2 times, leaving a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 0 after subtracting 4 from 4.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 2

On to step 2:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 20.0
If we subtract 0 from 0, we get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 2

On to step 3:
2 can be fit into 7 3 times, resulting in a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 203.0
Subtract 6 from 7 to get 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 2

Step 4:
The number 2 fits into 19 9 times, leaving a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 2039.0
If we subtract 18 from 19, we get 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 2

Step 5:
2 can be fit into 15 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 20397.0
The remainder is 1 after subtracting 14 from 15.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 2

Advancing to step 6:
If we divide 12 by 2, we get 6 and a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 203976.0
If we subtract 12 from 12, we get 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 2

Step 7:
2 goes into 4 2 times with a remainder of 0.
The next digit of our result is 2. 
Result so far: 2039762.0
Subtract 4 from 4 to get 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 2

Step 8:
2 goes into 1 0 times with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 20397620.0
Deduct 0 from 1 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 9:
10 divided by 2 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 20397620.5
The remainder is 0 after subtracting 10 from 10.
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:
2 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 20397620.5
If we subtract 0 from 0, we 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 11:
When dividing 0 by 2, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 20397620.5
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.

The final outcome is 20397620.5, with a leftover of 0.0.