40135746 ÷ 377 
We want to divide 40135746 by 377.

Going ahead to step 1:
377 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
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 / 377

Moving on to step 2:
When dividing 40 by 377, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Append the next digit (1) from the dividend to 40 and continue with: 401 / 377

Going ahead to step 3:
401 divided by 377 is 1 with a remainder of 24.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 377 from 401 to get 24.
Include the next digit (3) from the dividend after 24, then repeat: 243 / 377

On to step 4:
377 goes into 243 0 times with a remainder of 243.
Write down 0 as next digit of the result. 
Result so far: 10.0
The remainder is 243 after subtracting 0 from 243.
Bring next digit (5) of the dividend behind the 243 and repeat the process: 2435 / 377

On to step 5:
When dividing 2435 by 377, we get 6 with a remainder of 173.
The next digit of our result is 6. 
Result so far: 106.0
Subtract 2262 from 2435 to get 173.
Fetch the next digit (7) from the dividend, attach it to 173 and continue: 1737 / 377

Advancing to step 6:
377 can be fit into 1737 4 times, resulting in a remainder of 229.
Use 4 as the next digit of our solution. 
Result so far: 1064.0
The remainder is 229 after subtracting 1508 from 1737.
Append the next digit (4) from the dividend to 229 and continue with: 2294 / 377

Going ahead to step 7:
When dividing 2294 by 377, we get 6 with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 10646.0
Deduct 2262 from 2294 and we're left with 32.
Grab the next digit (6) from the dividend, add it to 32, then carry on: 326 / 377

Let's proceed to step 8:
377 can be fit into 326 0 times, resulting in a remainder of 326.
Write down 0 as next digit of the result. 
Result so far: 106460.0
If we subtract 0 from 326, we get 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

Moving on to step 9:
377 can be fit into 3260 8 times, resulting in a remainder of 244.
The next digit of our result is 8. 
Result so far: 106460.8
Subtracting 3016 from 3260 leaves us with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Advancing to step 10:
When dividing 2440 by 377, we get 6 with a remainder of 178.
Record the quotient 6 as the next digit in the result. 
Result so far: 106460.86
If we take 2262 away from 2440, 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.

Let's proceed to step 11:
When dividing 1780 by 377, we get 4 with a remainder of 272.
The number 4 becomes the next digit in our result. 
Result so far: 106460.864
Deduct 1508 from 1780 and we're left with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Step 12:
377 can be fit into 2720 7 times, resulting in a remainder of 81.
Write down 7 as next digit of the result. 
Result so far: 106460.8647
Subtracting 2639 from 2720 leaves us with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Going ahead to step 13:
When dividing 810 by 377, we get 2 with a remainder of 56.
Put 2 as the next digit of the answer. 
Result so far: 106460.86472
Subtract 754 from 810 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 14:
377 goes into 560 1 times with a remainder of 183.
Use 1 as the next digit of our solution. 
Result so far: 106460.864721
If we take 377 away from 560, we end up with 183.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1830, and continue the process.

Let's proceed to step 15:
377 goes into 1830 4 times with a remainder of 322.
Record the quotient 4 as the next digit in the result. 
Result so far: 106460.8647214
Subtract 1508 from 1830 to get 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Let's proceed to step 16:
When dividing 3220 by 377, we get 8 with a remainder of 204.
Put 8 as the next digit of the answer. 
Result so far: 106460.86472148
If we subtract 3016 from 3220, we get 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

The quotient of the division is 106460.86472148, and the remainder is 2.04e-07.