We're dividing 175816 by 40 
We're looking to find how many times 40 goes into 175816.

Going ahead to step 1:
When dividing 1 by 40, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 40

Let's proceed to step 2:
If we divide 17 by 40, we get 0 and a remainder of 17.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 17, we get 17.
Include the next digit (5) from the dividend after 17, then repeat: 175 / 40

Going ahead to step 3:
If we divide 175 by 40, we get 4 and a remainder of 15.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 160 from 175 leaves us with 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 40

Let's proceed to step 4:
40 goes into 158 3 times with a remainder of 38.
The next digit of our result is 3. 
Result so far: 43.0
If we subtract 120 from 158, we get 38.
Grab the next digit (1) from the dividend, add it to 38, then carry on: 381 / 40

Let's proceed to step 5:
If we divide 381 by 40, we get 9 and a remainder of 21.
The next digit of our result is 9. 
Result so far: 439.0
The remainder is 21 after subtracting 360 from 381.
Grab the next digit (6) from the dividend, add it to 21, then carry on: 216 / 40

On to step 6:
40 goes into 216 5 times with a remainder of 16.
Use 5 as the next digit of our solution. 
Result so far: 4395.0
The remainder is 16 after subtracting 200 from 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 7:
40 goes into 160 4 times with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 4395.4
If we take 160 away from 160, 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 8:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 4395.4
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.

On to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 4395.4
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.

After the division, we end up with 4395.4 and a remainder of 0.0.