We look at the division of 40084831 by 787 
We're looking to find how many times 787 goes into 40084831.

Let's proceed to step 1:
If we divide 4 by 787, we get 0 and 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 / 787

Step 2:
When dividing 40 by 787, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 787

Let's proceed to step 3:
787 goes into 400 0 times with a remainder of 400.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 400, we get 400.
Bring next digit (8) of the dividend behind the 400 and repeat the process: 4008 / 787

Advancing to step 4:
787 goes into 4008 5 times with a remainder of 73.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 73 after subtracting 3935 from 4008.
Fetch the next digit (4) from the dividend, attach it to 73 and continue: 734 / 787

Step 5:
When dividing 734 by 787, we get 0 with a remainder of 734.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
Deduct 0 from 734 and we're left with 734.
Take the next digit (8) from the dividend and append it to 734, then repeat: 7348 / 787

Step 6:
787 goes into 7348 9 times with a remainder of 265.
Record the quotient 9 as the next digit in the result. 
Result so far: 509.0
Deduct 7083 from 7348 and we're left with 265.
Bring next digit (3) of the dividend behind the 265 and repeat the process: 2653 / 787

Step 7:
2653 divided by 787 is 3 with a remainder of 292.
The next digit of our result is 3. 
Result so far: 5093.0
Deduct 2361 from 2653 and we're left with 292.
Fetch the next digit (1) from the dividend, attach it to 292 and continue: 2921 / 787

Going ahead to step 8:
When dividing 2921 by 787, we get 3 with a remainder of 560.
Record the quotient 3 as the next digit in the result. 
Result so far: 50933.0
Subtract 2361 from 2921 to get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

On to step 9:
When dividing 5600 by 787, we get 7 with a remainder of 91.
Use 7 as the next digit of our solution. 
Result so far: 50933.7
Deduct 5509 from 5600 and we're left with 91.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

Step 10:
910 divided by 787 is 1 with a remainder of 123.
The number 1 becomes the next digit in our result. 
Result so far: 50933.71
Deduct 787 from 910 and we're left with 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Step 11:
787 goes into 1230 1 times with a remainder of 443.
The next digit of our result is 1. 
Result so far: 50933.711
The remainder is 443 after subtracting 787 from 1230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4430, and continue the process.

The quotient of the division is 50933.711, and the remainder is 0.0443.