We divide 56165650 by 40
Let's see how many times 40 fits into 56165650.

Moving on to step 1:
When dividing 5 by 40, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 40

On to step 2:
When dividing 56 by 40, we get 1 with a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 40 from 56 and we're left with 16.
Append the next digit (1) from the dividend to 16 and continue with: 161 / 40

On to step 3:
When dividing 161 by 40, we get 4 with a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtracting 160 from 161 leaves us with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 40

On to step 4:
40 can be fit into 16 0 times, resulting in a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 140.0
If we take 0 away from 16, we end up with 16.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 40

Step 5:
If we divide 165 by 40, we get 4 and a remainder of 5.
The next digit of our result is 4. 
Result so far: 1404.0
If we take 160 away from 165, we end up with 5.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 40

Step 6:
If we divide 56 by 40, we get 1 and a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 14041.0
Subtract 40 from 56 to get 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 40

On to step 7:
When dividing 165 by 40, we get 4 with a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 140414.0
Subtract 160 from 165 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 40

Moving on to step 8:
The number 40 fits into 50 1 times, leaving a remainder of 10.
The next digit of our result is 1. 
Result so far: 1404141.0
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.

Let's proceed to step 9:
When dividing 100 by 40, we get 2 with a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 1404141.2
Deduct 80 from 100 and we're left 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.

Let's proceed to step 10:
40 goes into 200 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 1404141.25
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.

Advancing to step 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1404141.25
Subtracting 0 from 0 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.

Step 12:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 1404141.25
Subtracting 0 from 0 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.

Our division results in 1404141.25 with a remaining 0.0.