We divide 40313913 by 40
Let's see how many times 40 fits into 40313913.

Advancing to step 1:
40 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 40

Step 2:
When dividing 40 by 40, we get 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 40 from 40 to get 0.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 40

Let's proceed to step 3:
If we divide 3 by 40, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 10.0
Subtract 0 from 3 to get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 40

Let's proceed to step 4:
When dividing 31 by 40, we get 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 100.0
If we subtract 0 from 31, we get 31.
Bring next digit (3) of the dividend behind the 31 and repeat the process: 313 / 40

Advancing to step 5:
If we divide 313 by 40, we get 7 and a remainder of 33.
The number 7 becomes the next digit in our result. 
Result so far: 1007.0
Deduct 280 from 313 and we're left with 33.
Grab the next digit (9) from the dividend, add it to 33, then carry on: 339 / 40

Let's proceed to step 6:
When dividing 339 by 40, we get 8 with a remainder of 19.
The next digit of our result is 8. 
Result so far: 10078.0
Subtract 320 from 339 to get 19.
Include the next digit (1) from the dividend after 19, then repeat: 191 / 40

Going ahead to step 7:
40 goes into 191 4 times with a remainder of 31.
Write down 4 as next digit of the result. 
Result so far: 100784.0
Subtracting 160 from 191 leaves us with 31.
Bring next digit (3) of the dividend behind the 31 and repeat the process: 313 / 40

Going ahead to step 8:
When dividing 313 by 40, we get 7 with a remainder of 33.
The number 7 becomes the next digit in our result. 
Result so far: 1007847.0
Subtracting 280 from 313 leaves us with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 9:
When dividing 330 by 40, we get 8 with a remainder of 10.
The next digit of our result is 8. 
Result so far: 1007847.8
Subtract 320 from 330 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 10:
The number 40 fits into 100 2 times, leaving a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 1007847.82
If we take 80 away from 100, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 11:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 1007847.825
Deduct 200 from 200 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 12:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1007847.825
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 13:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1007847.825
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.

Our division results in 1007847.825 with a remaining 0.0.