1311396 divided by 40 
Our goal is to divide 1311396 by 40.

Moving on to step 1:
40 goes into 1 0 times with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 40

Step 2:
13 divided by 40 is 0 with a remainder of 13.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 13, we get 13.
Grab the next digit (1) from the dividend, add it to 13, then carry on: 131 / 40

Let's proceed to step 3:
If we divide 131 by 40, we get 3 and a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Deduct 120 from 131 and we're left with 11.
Append the next digit (1) from the dividend to 11 and continue with: 111 / 40

Moving on to step 4:
40 goes into 111 2 times with a remainder of 31.
Put 2 as the next digit of the answer. 
Result so far: 32.0
If we take 80 away from 111, we end up with 31.
Include the next digit (3) from the dividend after 31, then repeat: 313 / 40

Moving on to step 5:
313 divided by 40 is 7 with a remainder of 33.
The next digit of our result is 7. 
Result so far: 327.0
Subtract 280 from 313 to get 33.
Append the next digit (9) from the dividend to 33 and continue with: 339 / 40

Step 6:
339 divided by 40 is 8 with a remainder of 19.
Write down 8 as next digit of the result. 
Result so far: 3278.0
Deduct 320 from 339 and we're left with 19.
Grab the next digit (6) from the dividend, add it to 19, then carry on: 196 / 40

Step 7:
40 can be fit into 196 4 times, resulting in a remainder of 36.
Record the quotient 4 as the next digit in the result. 
Result so far: 32784.0
Subtract 160 from 196 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 8:
40 can be fit into 360 9 times, resulting in a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 32784.9
The remainder is 0 after subtracting 360 from 360.
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 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 32784.9
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.

On to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 32784.9
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 quotient of the division is 32784.9, and the remainder is 0.0.