40629282 divided by 31 
We're looking to find how many times 31 goes into 40629282.

On to step 1:
31 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 31

On to step 2:
The number 31 fits into 40 1 times, leaving a remainder of 9.
The next digit of our result is 1. 
Result so far: 1.0
If we take 31 away from 40, we end up with 9.
Include the next digit (6) from the dividend after 9, then repeat: 96 / 31

Advancing to step 3:
31 can be fit into 96 3 times, resulting in a remainder of 3.
The next digit of our result is 3. 
Result so far: 13.0
If we take 93 away from 96, we end up with 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 31

Moving on to step 4:
32 divided by 31 is 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 131.0
Subtracting 31 from 32 leaves us with 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 31

Step 5:
31 goes into 19 0 times with a remainder of 19.
The next digit of our result is 0. 
Result so far: 1310.0
Deduct 0 from 19 and we're left with 19.
Include the next digit (2) from the dividend after 19, then repeat: 192 / 31

Moving on to step 6:
The number 31 fits into 192 6 times, leaving a remainder of 6.
The next digit of our result is 6. 
Result so far: 13106.0
If we take 186 away from 192, we end up with 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 31

Going ahead to step 7:
68 divided by 31 is 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 131062.0
Deduct 62 from 68 and we're left with 6.
Bring next digit (2) of the dividend behind the 6 and repeat the process: 62 / 31

Moving on to step 8:
62 divided by 31 is 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 1310622.0
If we subtract 62 from 62, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
31 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 1310622.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
The number 31 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 1310622.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 1310622.0, with a leftover of 0.0.