40416061 divided by 366 
Our goal is to divide 40416061 by 366.

Advancing to step 1:
4 divided by 366 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 366

Going ahead to step 2:
40 divided by 366 is 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Bring next digit (4) of the dividend behind the 40 and repeat the process: 404 / 366

Moving on to step 3:
When dividing 404 by 366, we get 1 with a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 366 from 404, we get 38.
Append the next digit (1) from the dividend to 38 and continue with: 381 / 366

On to step 4:
The number 366 fits into 381 1 times, leaving a remainder of 15.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtracting 366 from 381 leaves us with 15.
Bring next digit (6) of the dividend behind the 15 and repeat the process: 156 / 366

Moving on to step 5:
The number 366 fits into 156 0 times, leaving a remainder of 156.
Record the quotient 0 as the next digit in the result. 
Result so far: 110.0
Subtract 0 from 156 to get 156.
Take the next digit (0) from the dividend and append it to 156, then repeat: 1560 / 366

Going ahead to step 6:
If we divide 1560 by 366, we get 4 and a remainder of 96.
Use 4 as the next digit of our solution. 
Result so far: 1104.0
Subtracting 1464 from 1560 leaves us with 96.
Fetch the next digit (6) from the dividend, attach it to 96 and continue: 966 / 366

Going ahead to step 7:
366 goes into 966 2 times with a remainder of 234.
Write down 2 as next digit of the result. 
Result so far: 11042.0
Subtracting 732 from 966 leaves us with 234.
Include the next digit (1) from the dividend after 234, then repeat: 2341 / 366

Let's proceed to step 8:
366 goes into 2341 6 times with a remainder of 145.
Record the quotient 6 as the next digit in the result. 
Result so far: 110426.0
Deduct 2196 from 2341 and we're left with 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Let's proceed to step 9:
The number 366 fits into 1450 3 times, leaving a remainder of 352.
Use 3 as the next digit of our solution. 
Result so far: 110426.3
If we subtract 1098 from 1450, we get 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Going ahead to step 10:
The number 366 fits into 3520 9 times, leaving a remainder of 226.
The number 9 becomes the next digit in our result. 
Result so far: 110426.39
Deduct 3294 from 3520 and we're left with 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Step 11:
2260 divided by 366 is 6 with a remainder of 64.
Record the quotient 6 as the next digit in the result. 
Result so far: 110426.396
The remainder is 64 after subtracting 2196 from 2260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 12:
When dividing 640 by 366, we get 1 with a remainder of 274.
Write down 1 as next digit of the result. 
Result so far: 110426.3961
Deduct 366 from 640 and we're left with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

On to step 13:
366 goes into 2740 7 times with a remainder of 178.
Record the quotient 7 as the next digit in the result. 
Result so far: 110426.39617
If we take 2562 away from 2740, we end up with 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Advancing to step 14:
366 can be fit into 1780 4 times, resulting in a remainder of 316.
Record the quotient 4 as the next digit in the result. 
Result so far: 110426.396174
The remainder is 316 after subtracting 1464 from 1780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Step 15:
When dividing 3160 by 366, we get 8 with a remainder of 232.
Record the quotient 8 as the next digit in the result. 
Result so far: 110426.3961748
If we subtract 2928 from 3160, we get 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Let's proceed to step 16:
The number 366 fits into 2320 6 times, leaving a remainder of 124.
The next digit of our result is 6. 
Result so far: 110426.39617486
The remainder is 124 after subtracting 2196 from 2320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

The final outcome is 110426.39617486, with a leftover of 1.24e-07.