Let's divide 287491 by 45
We're looking to find how many times 45 goes into 287491.

Advancing to step 1:
2 divided by 45 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 45

On to step 2:
When dividing 28 by 45, we get 0 with a remainder of 28.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 28 to get 28.
Grab the next digit (7) from the dividend, add it to 28, then carry on: 287 / 45

Going ahead to step 3:
When dividing 287 by 45, we get 6 with a remainder of 17.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtract 270 from 287 to get 17.
Bring next digit (4) of the dividend behind the 17 and repeat the process: 174 / 45

Going ahead to step 4:
If we divide 174 by 45, we get 3 and a remainder of 39.
Record the quotient 3 as the next digit in the result. 
Result so far: 63.0
Deduct 135 from 174 and we're left with 39.
Include the next digit (9) from the dividend after 39, then repeat: 399 / 45

Step 5:
45 goes into 399 8 times with a remainder of 39.
Record the quotient 8 as the next digit in the result. 
Result so far: 638.0
Subtract 360 from 399 to get 39.
Fetch the next digit (1) from the dividend, attach it to 39 and continue: 391 / 45

Step 6:
45 can be fit into 391 8 times, resulting in a remainder of 31.
Use 8 as the next digit of our solution. 
Result so far: 6388.0
Deduct 360 from 391 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 7:
The number 45 fits into 310 6 times, leaving a remainder of 40.
Put 6 as the next digit of the answer. 
Result so far: 6388.6
If we take 270 away from 310, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 8:
If we divide 400 by 45, we get 8 and a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 6388.68
If we take 360 away from 400, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 9:
The number 45 fits into 400 8 times, leaving a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 6388.688
If we subtract 360 from 400, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

After the division, we end up with 6388.688 and a remainder of 0.004.