We divide 40505512 by 965
We're looking to find how many times 965 goes into 40505512.

Going ahead to step 1:
4 divided by 965 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 965

Going ahead to step 2:
40 divided by 965 is 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (5) from the dividend and append it to 40, then repeat: 405 / 965

Advancing to step 3:
965 can be fit into 405 0 times, resulting in a remainder of 405.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 405 leaves us with 405.
Bring next digit (0) of the dividend behind the 405 and repeat the process: 4050 / 965

On to step 4:
When dividing 4050 by 965, we get 4 with a remainder of 190.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 190 after subtracting 3860 from 4050.
Bring next digit (5) of the dividend behind the 190 and repeat the process: 1905 / 965

Let's proceed to step 5:
965 can be fit into 1905 1 times, resulting in a remainder of 940.
Write down 1 as next digit of the result. 
Result so far: 41.0
If we subtract 965 from 1905, we get 940.
Bring next digit (5) of the dividend behind the 940 and repeat the process: 9405 / 965

Moving on to step 6:
The number 965 fits into 9405 9 times, leaving a remainder of 720.
Write down 9 as next digit of the result. 
Result so far: 419.0
Subtract 8685 from 9405 to get 720.
Grab the next digit (1) from the dividend, add it to 720, then carry on: 7201 / 965

Advancing to step 7:
If we divide 7201 by 965, we get 7 and a remainder of 446.
The number 7 becomes the next digit in our result. 
Result so far: 4197.0
If we take 6755 away from 7201, we end up with 446.
Include the next digit (2) from the dividend after 446, then repeat: 4462 / 965

Moving on to step 8:
If we divide 4462 by 965, we get 4 and a remainder of 602.
Record the quotient 4 as the next digit in the result. 
Result so far: 41974.0
Subtract 3860 from 4462 to get 602.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6020, and continue the process.

Let's proceed to step 9:
The number 965 fits into 6020 6 times, leaving a remainder of 230.
Put 6 as the next digit of the answer. 
Result so far: 41974.6
Deduct 5790 from 6020 and we're left with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Advancing to step 10:
965 goes into 2300 2 times with a remainder of 370.
Put 2 as the next digit of the answer. 
Result so far: 41974.62
Subtract 1930 from 2300 to get 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

Advancing to step 11:
3700 divided by 965 is 3 with a remainder of 805.
Put 3 as the next digit of the answer. 
Result so far: 41974.623
Subtracting 2895 from 3700 leaves us with 805.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8050, and continue the process.

Going ahead to step 12:
965 goes into 8050 8 times with a remainder of 330.
Record the quotient 8 as the next digit in the result. 
Result so far: 41974.6238
Deduct 7720 from 8050 and we're left with 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

Step 13:
965 goes into 3300 3 times with a remainder of 405.
Put 3 as the next digit of the answer. 
Result so far: 41974.62383
Deduct 2895 from 3300 and we're left with 405.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4050, and continue the process.

Advancing to step 14:
4050 divided by 965 is 4 with a remainder of 190.
Write down 4 as next digit of the result. 
Result so far: 41974.623834
Subtract 3860 from 4050 to get 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

On to step 15:
1900 divided by 965 is 1 with a remainder of 935.
The next digit of our result is 1. 
Result so far: 41974.6238341
Deduct 965 from 1900 and we're left with 935.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9350, and continue the process.

Going ahead to step 16:
When dividing 9350 by 965, we get 9 with a remainder of 665.
Put 9 as the next digit of the answer. 
Result so far: 41974.62383419
The remainder is 665 after subtracting 8685 from 9350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6650, and continue the process.

After the division, we end up with 41974.62383419 and a remainder of 6.65e-07.