We're dividing 187165 by 5 
We want to figure out the number of times 187165 can be divided by 5.

On to step 1:
5 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 5

Advancing to step 2:
5 can be fit into 18 3 times, resulting in a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we take 15 away from 18, we end up with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 5

Step 3:
If we divide 37 by 5, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 37.0
If we subtract 35 from 37, we get 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 5

On to step 4:
If we divide 21 by 5, we get 4 and a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 374.0
If we subtract 20 from 21, we get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 5

Let's proceed to step 5:
5 can be fit into 16 3 times, resulting in a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 3743.0
Subtracting 15 from 16 leaves us with 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 5

Going ahead to step 6:
If we divide 15 by 5, we get 3 and a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 37433.0
Subtracting 15 from 15 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.

Let's proceed to step 7:
0 divided by 5 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 37433.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 37433.0
Deduct 0 from 0 and we're left 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.

The quotient of the division is 37433.0, and the remainder is 0.0.