635965 ÷ 40 
We're looking to find how many times 40 goes into 635965.

Let's proceed to step 1:
40 can be fit into 6 0 times, resulting in a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Fetch the next digit (3) from the dividend, attach it to 6 and continue: 63 / 40

Let's proceed to step 2:
40 goes into 63 1 times with a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 23 after subtracting 40 from 63.
Fetch the next digit (5) from the dividend, attach it to 23 and continue: 235 / 40

Going ahead to step 3:
When dividing 235 by 40, we get 5 with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Subtracting 200 from 235 leaves us with 35.
Include the next digit (9) from the dividend after 35, then repeat: 359 / 40

Let's proceed to step 4:
40 goes into 359 8 times with a remainder of 39.
The number 8 becomes the next digit in our result. 
Result so far: 158.0
If we take 320 away from 359, we end up with 39.
Append the next digit (6) from the dividend to 39 and continue with: 396 / 40

Let's proceed to step 5:
When dividing 396 by 40, we get 9 with a remainder of 36.
The number 9 becomes the next digit in our result. 
Result so far: 1589.0
If we subtract 360 from 396, we get 36.
Grab the next digit (5) from the dividend, add it to 36, then carry on: 365 / 40

Let's proceed to step 6:
40 can be fit into 365 9 times, resulting in a remainder of 5.
Write down 9 as next digit of the result. 
Result so far: 15899.0
The remainder is 5 after subtracting 360 from 365.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 7:
When dividing 50 by 40, we get 1 with a remainder of 10.
Write down 1 as next digit of the result. 
Result so far: 15899.1
If we subtract 40 from 50, we 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 8:
100 divided by 40 is 2 with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 15899.12
The remainder is 20 after subtracting 80 from 100.
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:
When dividing 200 by 40, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 15899.125
If we take 200 away from 200, 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.

On to step 10:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 15899.125
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.

Advancing to step 11:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 15899.125
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 final result is 15899.125 with a remainder of 0.0.