We're dividing 40175512 by 387 
We're looking to find how many times 387 goes into 40175512.

Let's proceed to step 1:
The number 387 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 387

Going ahead to step 2:
The number 387 fits into 40 0 times, leaving a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Include the next digit (1) from the dividend after 40, then repeat: 401 / 387

Going ahead to step 3:
The number 387 fits into 401 1 times, leaving a remainder of 14.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 387 from 401 leaves us with 14.
Include the next digit (7) from the dividend after 14, then repeat: 147 / 387

Step 4:
387 goes into 147 0 times with a remainder of 147.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtract 0 from 147 to get 147.
Bring next digit (5) of the dividend behind the 147 and repeat the process: 1475 / 387

Let's proceed to step 5:
If we divide 1475 by 387, we get 3 and a remainder of 314.
The next digit of our result is 3. 
Result so far: 103.0
The remainder is 314 after subtracting 1161 from 1475.
Append the next digit (5) from the dividend to 314 and continue with: 3145 / 387

Moving on to step 6:
387 goes into 3145 8 times with a remainder of 49.
Record the quotient 8 as the next digit in the result. 
Result so far: 1038.0
Subtract 3096 from 3145 to get 49.
Append the next digit (1) from the dividend to 49 and continue with: 491 / 387

Advancing to step 7:
491 divided by 387 is 1 with a remainder of 104.
Put 1 as the next digit of the answer. 
Result so far: 10381.0
If we take 387 away from 491, we end up with 104.
Grab the next digit (2) from the dividend, add it to 104, then carry on: 1042 / 387

Moving on to step 8:
1042 divided by 387 is 2 with a remainder of 268.
Record the quotient 2 as the next digit in the result. 
Result so far: 103812.0
The remainder is 268 after subtracting 774 from 1042.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

On to step 9:
387 can be fit into 2680 6 times, resulting in a remainder of 358.
Put 6 as the next digit of the answer. 
Result so far: 103812.6
The remainder is 358 after subtracting 2322 from 2680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Moving on to step 10:
3580 divided by 387 is 9 with a remainder of 97.
Write down 9 as next digit of the result. 
Result so far: 103812.69
If we subtract 3483 from 3580, we get 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

On to step 11:
970 divided by 387 is 2 with a remainder of 196.
Record the quotient 2 as the next digit in the result. 
Result so far: 103812.692
If we take 774 away from 970, we end up with 196.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1960, and continue the process.

Going ahead to step 12:
The number 387 fits into 1960 5 times, leaving a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 103812.6925
The remainder is 25 after subtracting 1935 from 1960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 13:
The number 387 fits into 250 0 times, leaving a remainder of 250.
Use 0 as the next digit of our solution. 
Result so far: 103812.6925
Deduct 0 from 250 and we're left with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

On to step 14:
If we divide 2500 by 387, we get 6 and a remainder of 178.
Record the quotient 6 as the next digit in the result. 
Result so far: 103812.692506
The remainder is 178 after subtracting 2322 from 2500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Step 15:
387 goes into 1780 4 times with a remainder of 232.
Put 4 as the next digit of the answer. 
Result so far: 103812.6925064
If we subtract 1548 from 1780, we get 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Going ahead to step 16:
The number 387 fits into 2320 5 times, leaving a remainder of 385.
Put 5 as the next digit of the answer. 
Result so far: 103812.69250645
Deduct 1935 from 2320 and we're left with 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

Our division results in 103812.69250645 with a remaining 3.85e-07.