We divide 40355257 by 663
We want to divide 40355257 by 663.

Let's proceed to step 1:
The number 663 fits into 4 0 times, leaving 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.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 663

Going ahead to step 2:
When dividing 40 by 663, we get 0 with 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.
Include the next digit (3) from the dividend after 40, then repeat: 403 / 663

Let's proceed to step 3:
The number 663 fits into 403 0 times, leaving a remainder of 403.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 403 leaves us with 403.
Grab the next digit (5) from the dividend, add it to 403, then carry on: 4035 / 663

Going ahead to step 4:
The number 663 fits into 4035 6 times, leaving a remainder of 57.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 57 after subtracting 3978 from 4035.
Append the next digit (5) from the dividend to 57 and continue with: 575 / 663

Advancing to step 5:
663 can be fit into 575 0 times, resulting in a remainder of 575.
Use 0 as the next digit of our solution. 
Result so far: 60.0
Deduct 0 from 575 and we're left with 575.
Bring next digit (2) of the dividend behind the 575 and repeat the process: 5752 / 663

On to step 6:
When dividing 5752 by 663, we get 8 with a remainder of 448.
The next digit of our result is 8. 
Result so far: 608.0
Subtract 5304 from 5752 to get 448.
Fetch the next digit (5) from the dividend, attach it to 448 and continue: 4485 / 663

Advancing to step 7:
4485 divided by 663 is 6 with a remainder of 507.
Record the quotient 6 as the next digit in the result. 
Result so far: 6086.0
Deduct 3978 from 4485 and we're left with 507.
Take the next digit (7) from the dividend and append it to 507, then repeat: 5077 / 663

Moving on to step 8:
663 can be fit into 5077 7 times, resulting in a remainder of 436.
The number 7 becomes the next digit in our result. 
Result so far: 60867.0
The remainder is 436 after subtracting 4641 from 5077.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4360, and continue the process.

On to step 9:
If we divide 4360 by 663, we get 6 and a remainder of 382.
Use 6 as the next digit of our solution. 
Result so far: 60867.6
If we subtract 3978 from 4360, we get 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

Step 10:
If we divide 3820 by 663, we get 5 and a remainder of 505.
Record the quotient 5 as the next digit in the result. 
Result so far: 60867.65
The remainder is 505 after subtracting 3315 from 3820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5050, and continue the process.

Let's proceed to step 11:
5050 divided by 663 is 7 with a remainder of 409.
Use 7 as the next digit of our solution. 
Result so far: 60867.657
Subtract 4641 from 5050 to get 409.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

Let's proceed to step 12:
If we divide 4090 by 663, we get 6 and a remainder of 112.
Write down 6 as next digit of the result. 
Result so far: 60867.6576
Subtract 3978 from 4090 to get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Going ahead to step 13:
663 goes into 1120 1 times with a remainder of 457.
The number 1 becomes the next digit in our result. 
Result so far: 60867.65761
If we subtract 663 from 1120, we get 457.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4570, and continue the process.

Going ahead to step 14:
The number 663 fits into 4570 6 times, leaving a remainder of 592.
Write down 6 as next digit of the result. 
Result so far: 60867.657616
Subtracting 3978 from 4570 leaves us with 592.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5920, and continue the process.

On to step 15:
5920 divided by 663 is 8 with a remainder of 616.
Use 8 as the next digit of our solution. 
Result so far: 60867.6576168
If we take 5304 away from 5920, we end up with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

Let's proceed to step 16:
If we divide 6160 by 663, we get 9 and a remainder of 193.
Put 9 as the next digit of the answer. 
Result so far: 60867.65761689
If we subtract 5967 from 6160, we get 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1930, and continue the process.

The final result is 60867.65761689 with a remainder of 1.93e-07.