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

Moving on to step 1:
The number 45 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 45

Going ahead to step 2:
When dividing 18 by 45, we get 0 with a remainder of 18.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Take the next digit (6) from the dividend and append it to 18, then repeat: 186 / 45

Advancing to step 3:
186 divided by 45 is 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtract 180 from 186 to get 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 45

Moving on to step 4:
When dividing 67 by 45, we get 1 with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 41.0
Subtracting 45 from 67 leaves us with 22.
Take the next digit (3) from the dividend and append it to 22, then repeat: 223 / 45

Let's proceed to step 5:
45 can be fit into 223 4 times, resulting in a remainder of 43.
Record the quotient 4 as the next digit in the result. 
Result so far: 414.0
If we subtract 180 from 223, we get 43.
Take the next digit (1) from the dividend and append it to 43, then repeat: 431 / 45

Step 6:
When dividing 431 by 45, we get 9 with a remainder of 26.
Record the quotient 9 as the next digit in the result. 
Result so far: 4149.0
Subtracting 405 from 431 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 7:
45 goes into 260 5 times with a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 4149.5
Deduct 225 from 260 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 8:
45 can be fit into 350 7 times, resulting in a remainder of 35.
Use 7 as the next digit of our solution. 
Result so far: 4149.57
Deduct 315 from 350 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 9:
45 can be fit into 350 7 times, resulting in a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 4149.577
Subtract 315 from 350 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Our division results in 4149.577 with a remaining 0.0035.