Let's divide 40935965 by 187
We want to figure out the number of times 40935965 can be divided by 187.

Step 1:
The number 187 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 187

On to step 2:
If we divide 40 by 187, we get 0 and a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Include the next digit (9) from the dividend after 40, then repeat: 409 / 187

Let's proceed to step 3:
187 goes into 409 2 times with a remainder of 35.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 35 after subtracting 374 from 409.
Append the next digit (3) from the dividend to 35 and continue with: 353 / 187

Going ahead to step 4:
353 divided by 187 is 1 with a remainder of 166.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
Subtract 187 from 353 to get 166.
Fetch the next digit (5) from the dividend, attach it to 166 and continue: 1665 / 187

Moving on to step 5:
If we divide 1665 by 187, we get 8 and a remainder of 169.
Use 8 as the next digit of our solution. 
Result so far: 218.0
If we subtract 1496 from 1665, we get 169.
Take the next digit (9) from the dividend and append it to 169, then repeat: 1699 / 187

On to step 6:
1699 divided by 187 is 9 with a remainder of 16.
Write down 9 as next digit of the result. 
Result so far: 2189.0
Subtracting 1683 from 1699 leaves us with 16.
Bring next digit (6) of the dividend behind the 16 and repeat the process: 166 / 187

Going ahead to step 7:
166 divided by 187 is 0 with a remainder of 166.
Write down 0 as next digit of the result. 
Result so far: 21890.0
Subtracting 0 from 166 leaves us with 166.
Include the next digit (5) from the dividend after 166, then repeat: 1665 / 187

On to step 8:
187 can be fit into 1665 8 times, resulting in a remainder of 169.
Use 8 as the next digit of our solution. 
Result so far: 218908.0
If we take 1496 away from 1665, we end up with 169.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1690, and continue the process.

Going ahead to step 9:
If we divide 1690 by 187, we get 9 and a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 218908.9
Subtract 1683 from 1690 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 10:
187 goes into 70 0 times with a remainder of 70.
The next digit of our result is 0. 
Result so far: 218908.9
Subtract 0 from 70 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 11:
If we divide 700 by 187, we get 3 and a remainder of 139.
The next digit of our result is 3. 
Result so far: 218908.903
Deduct 561 from 700 and we're left with 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

On to step 12:
When dividing 1390 by 187, we get 7 with a remainder of 81.
Put 7 as the next digit of the answer. 
Result so far: 218908.9037
If we take 1309 away from 1390, we end up with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Step 13:
187 goes into 810 4 times with a remainder of 62.
The next digit of our result is 4. 
Result so far: 218908.90374
If we subtract 748 from 810, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Moving on to step 14:
The number 187 fits into 620 3 times, leaving a remainder of 59.
Record the quotient 3 as the next digit in the result. 
Result so far: 218908.903743
The remainder is 59 after subtracting 561 from 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Moving on to step 15:
If we divide 590 by 187, we get 3 and a remainder of 29.
The next digit of our result is 3. 
Result so far: 218908.9037433
If we take 561 away from 590, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

The final result is 218908.9037433 with a remainder of 2.9e-07.