We look at the division of 965843 by 40 
We want to divide 965843 by 40.

Going ahead to step 1:
40 can be fit into 9 0 times, resulting in a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Append the next digit (6) from the dividend to 9 and continue with: 96 / 40

Going ahead to step 2:
The number 40 fits into 96 2 times, leaving a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 80 from 96, we get 16.
Grab the next digit (5) from the dividend, add it to 16, then carry on: 165 / 40

Advancing to step 3:
If we divide 165 by 40, we get 4 and a remainder of 5.
Use 4 as the next digit of our solution. 
Result so far: 24.0
Subtracting 160 from 165 leaves us with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 40

Moving on to step 4:
If we divide 58 by 40, we get 1 and a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 241.0
Subtract 40 from 58 to get 18.
Bring next digit (4) of the dividend behind the 18 and repeat the process: 184 / 40

On to step 5:
40 can be fit into 184 4 times, resulting in a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 2414.0
If we take 160 away from 184, we end up with 24.
Take the next digit (3) from the dividend and append it to 24, then repeat: 243 / 40

Going ahead to step 6:
40 can be fit into 243 6 times, resulting in a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 24146.0
If we subtract 240 from 243, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
30 divided by 40 is 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 24146.0
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 24146.07
If we take 280 away from 300, 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 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 24146.075
Subtracting 200 from 200 leaves us 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.

Let's proceed to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 24146.075
If we take 0 away from 0, we end up 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 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 24146.075
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.

The quotient of the division is 24146.075, and the remainder is 0.0.