We divide 295967 by 40
We want to figure out the number of times 295967 can be divided by 40.

Moving on to step 1:
40 goes into 2 0 times with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 40

Step 2:
If we divide 29 by 40, we get 0 and a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Bring next digit (5) of the dividend behind the 29 and repeat the process: 295 / 40

Advancing to step 3:
40 goes into 295 7 times with a remainder of 15.
The next digit of our result is 7. 
Result so far: 7.0
Subtract 280 from 295 to get 15.
Take the next digit (9) from the dividend and append it to 15, then repeat: 159 / 40

Let's proceed to step 4:
159 divided by 40 is 3 with a remainder of 39.
The next digit of our result is 3. 
Result so far: 73.0
Subtract 120 from 159 to get 39.
Bring next digit (6) of the dividend behind the 39 and repeat the process: 396 / 40

Step 5:
The number 40 fits into 396 9 times, leaving a remainder of 36.
Use 9 as the next digit of our solution. 
Result so far: 739.0
Subtracting 360 from 396 leaves us with 36.
Grab the next digit (7) from the dividend, add it to 36, then carry on: 367 / 40

Moving on to step 6:
367 divided by 40 is 9 with a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 7399.0
Subtract 360 from 367 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
40 goes into 70 1 times with a remainder of 30.
Put 1 as the next digit of the answer. 
Result so far: 7399.1
The remainder is 30 after subtracting 40 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
The next digit of our result is 7. 
Result so far: 7399.17
Subtract 280 from 300 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 7399.175
Subtract 200 from 200 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.

Advancing to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 7399.175
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.

Moving on to step 11:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 7399.175
Deduct 0 from 0 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.

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