Let's divide 40416571 by 295
We want to divide 40416571 by 295.

Let's proceed to step 1:
295 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 295

Advancing to step 2:
When dividing 40 by 295, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Take the next digit (4) from the dividend and append it to 40, then repeat: 404 / 295

Going ahead to step 3:
If we divide 404 by 295, we get 1 and a remainder of 109.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 109 after subtracting 295 from 404.
Include the next digit (1) from the dividend after 109, then repeat: 1091 / 295

Let's proceed to step 4:
1091 divided by 295 is 3 with a remainder of 206.
Use 3 as the next digit of our solution. 
Result so far: 13.0
If we subtract 885 from 1091, we get 206.
Fetch the next digit (6) from the dividend, attach it to 206 and continue: 2066 / 295

Advancing to step 5:
When dividing 2066 by 295, we get 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 137.0
Deduct 2065 from 2066 and we're left with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 295

Step 6:
When dividing 15 by 295, we get 0 with a remainder of 15.
Put 0 as the next digit of the answer. 
Result so far: 1370.0
Deduct 0 from 15 and we're left with 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 295

Moving on to step 7:
When dividing 157 by 295, we get 0 with a remainder of 157.
Put 0 as the next digit of the answer. 
Result so far: 13700.0
If we subtract 0 from 157, we get 157.
Include the next digit (1) from the dividend after 157, then repeat: 1571 / 295

Step 8:
The number 295 fits into 1571 5 times, leaving a remainder of 96.
The number 5 becomes the next digit in our result. 
Result so far: 137005.0
Subtracting 1475 from 1571 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Advancing to step 9:
960 divided by 295 is 3 with a remainder of 75.
Put 3 as the next digit of the answer. 
Result so far: 137005.3
If we subtract 885 from 960, we get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Step 10:
295 goes into 750 2 times with a remainder of 160.
Record the quotient 2 as the next digit in the result. 
Result so far: 137005.32
Deduct 590 from 750 and we're left with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Advancing to step 11:
1600 divided by 295 is 5 with a remainder of 125.
The next digit of our result is 5. 
Result so far: 137005.325
If we subtract 1475 from 1600, we get 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Moving on to step 12:
The number 295 fits into 1250 4 times, leaving a remainder of 70.
Use 4 as the next digit of our solution. 
Result so far: 137005.3254
Subtract 1180 from 1250 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Moving on to step 13:
295 goes into 700 2 times with a remainder of 110.
Use 2 as the next digit of our solution. 
Result so far: 137005.32542
If we take 590 away from 700, we end up with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Let's proceed to step 14:
1100 divided by 295 is 3 with a remainder of 215.
Write down 3 as next digit of the result. 
Result so far: 137005.325423
If we subtract 885 from 1100, we get 215.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

Moving on to step 15:
When dividing 2150 by 295, we get 7 with a remainder of 85.
Put 7 as the next digit of the answer. 
Result so far: 137005.3254237
Deduct 2065 from 2150 and we're left with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Step 16:
If we divide 850 by 295, we get 2 and a remainder of 260.
Write down 2 as next digit of the result. 
Result so far: 137005.32542372
If we take 590 away from 850, we end up with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

The final outcome is 137005.32542372, with a leftover of 2.6e-07.