We're dividing 40130777 by 287 
We want to figure out the number of times 40130777 can be divided by 287.

Step 1:
287 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 287

Let's proceed to step 2:
287 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 287

Going ahead to step 3:
401 divided by 287 is 1 with a remainder of 114.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 114 after subtracting 287 from 401.
Fetch the next digit (3) from the dividend, attach it to 114 and continue: 1143 / 287

Advancing to step 4:
If we divide 1143 by 287, we get 3 and a remainder of 282.
The next digit of our result is 3. 
Result so far: 13.0
Subtracting 861 from 1143 leaves us with 282.
Include the next digit (0) from the dividend after 282, then repeat: 2820 / 287

Let's proceed to step 5:
When dividing 2820 by 287, we get 9 with a remainder of 237.
The number 9 becomes the next digit in our result. 
Result so far: 139.0
Subtract 2583 from 2820 to get 237.
Take the next digit (7) from the dividend and append it to 237, then repeat: 2377 / 287

Step 6:
2377 divided by 287 is 8 with a remainder of 81.
The number 8 becomes the next digit in our result. 
Result so far: 1398.0
Subtracting 2296 from 2377 leaves us with 81.
Grab the next digit (7) from the dividend, add it to 81, then carry on: 817 / 287

Moving on to step 7:
The number 287 fits into 817 2 times, leaving a remainder of 243.
The number 2 becomes the next digit in our result. 
Result so far: 13982.0
If we subtract 574 from 817, we get 243.
Fetch the next digit (7) from the dividend, attach it to 243 and continue: 2437 / 287

Let's proceed to step 8:
287 can be fit into 2437 8 times, resulting in a remainder of 141.
The number 8 becomes the next digit in our result. 
Result so far: 139828.0
Subtract 2296 from 2437 to get 141.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

Step 9:
1410 divided by 287 is 4 with a remainder of 262.
The next digit of our result is 4. 
Result so far: 139828.4
If we take 1148 away from 1410, we end up with 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

Moving on to step 10:
287 can be fit into 2620 9 times, resulting in a remainder of 37.
Use 9 as the next digit of our solution. 
Result so far: 139828.49
Deduct 2583 from 2620 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 11:
The number 287 fits into 370 1 times, leaving a remainder of 83.
The next digit of our result is 1. 
Result so far: 139828.491
Subtract 287 from 370 to get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Step 12:
If we divide 830 by 287, we get 2 and a remainder of 256.
Put 2 as the next digit of the answer. 
Result so far: 139828.4912
Subtract 574 from 830 to get 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Let's proceed to step 13:
The number 287 fits into 2560 8 times, leaving a remainder of 264.
Record the quotient 8 as the next digit in the result. 
Result so far: 139828.49128
Subtracting 2296 from 2560 leaves us with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Let's proceed to step 14:
2640 divided by 287 is 9 with a remainder of 57.
Put 9 as the next digit of the answer. 
Result so far: 139828.491289
Deduct 2583 from 2640 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Moving on to step 15:
570 divided by 287 is 1 with a remainder of 283.
Record the quotient 1 as the next digit in the result. 
Result so far: 139828.4912891
Deduct 287 from 570 and we're left with 283.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2830, and continue the process.

Step 16:
2830 divided by 287 is 9 with a remainder of 247.
Write down 9 as next digit of the result. 
Result so far: 139828.49128919
If we take 2583 away from 2830, we end up with 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

In conclusion, the division gives 139828.49128919 with a balance of 2.47e-07.