We're dividing 40337166 by 773 
Our goal is to divide 40337166 by 773.

Moving on to step 1:
4 divided by 773 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 773

Moving on to step 2:
40 divided by 773 is 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (3) from the dividend to 40 and continue with: 403 / 773

Step 3:
When dividing 403 by 773, we get 0 with a remainder of 403.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 403, we end up with 403.
Include the next digit (3) from the dividend after 403, then repeat: 4033 / 773

Step 4:
4033 divided by 773 is 5 with a remainder of 168.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 168 after subtracting 3865 from 4033.
Take the next digit (7) from the dividend and append it to 168, then repeat: 1687 / 773

Advancing to step 5:
1687 divided by 773 is 2 with a remainder of 141.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
The remainder is 141 after subtracting 1546 from 1687.
Include the next digit (1) from the dividend after 141, then repeat: 1411 / 773

Step 6:
The number 773 fits into 1411 1 times, leaving a remainder of 638.
Write down 1 as next digit of the result. 
Result so far: 521.0
The remainder is 638 after subtracting 773 from 1411.
Include the next digit (6) from the dividend after 638, then repeat: 6386 / 773

Advancing to step 7:
The number 773 fits into 6386 8 times, leaving a remainder of 202.
The next digit of our result is 8. 
Result so far: 5218.0
The remainder is 202 after subtracting 6184 from 6386.
Append the next digit (6) from the dividend to 202 and continue with: 2026 / 773

Step 8:
773 goes into 2026 2 times with a remainder of 480.
The number 2 becomes the next digit in our result. 
Result so far: 52182.0
If we take 1546 away from 2026, we end up with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Moving on to step 9:
The number 773 fits into 4800 6 times, leaving a remainder of 162.
The next digit of our result is 6. 
Result so far: 52182.6
The remainder is 162 after subtracting 4638 from 4800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

Let's proceed to step 10:
1620 divided by 773 is 2 with a remainder of 74.
Write down 2 as next digit of the result. 
Result so far: 52182.62
Subtract 1546 from 1620 to get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Going ahead to step 11:
740 divided by 773 is 0 with a remainder of 740.
Record the quotient 0 as the next digit in the result. 
Result so far: 52182.62
Subtracting 0 from 740 leaves us with 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7400, and continue the process.

On to step 12:
The number 773 fits into 7400 9 times, leaving a remainder of 443.
The number 9 becomes the next digit in our result. 
Result so far: 52182.6209
Subtract 6957 from 7400 to get 443.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4430, and continue the process.

Moving on to step 13:
773 goes into 4430 5 times with a remainder of 565.
Write down 5 as next digit of the result. 
Result so far: 52182.62095
If we subtract 3865 from 4430, we get 565.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5650, and continue the process.

Let's proceed to step 14:
773 goes into 5650 7 times with a remainder of 239.
Use 7 as the next digit of our solution. 
Result so far: 52182.620957
Subtract 5411 from 5650 to get 239.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2390, and continue the process.

Moving on to step 15:
773 goes into 2390 3 times with a remainder of 71.
Use 3 as the next digit of our solution. 
Result so far: 52182.6209573
Subtract 2319 from 2390 to get 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

On to step 16:
If we divide 710 by 773, we get 0 and a remainder of 710.
Write down 0 as next digit of the result. 
Result so far: 52182.6209573
If we subtract 0 from 710, we get 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

Our division results in 52182.6209573 with a remaining 7.1e-07.