We look at the division of 495031 by 45 
We want to figure out the number of times 495031 can be divided by 45.

Advancing to step 1:
When dividing 4 by 45, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 45

Going ahead to step 2:
If we divide 49 by 45, we get 1 and a remainder of 4.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 45 from 49 to get 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 45

Going ahead to step 3:
45 can be fit into 45 1 times, resulting in a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 11.0
The remainder is 0 after subtracting 45 from 45.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 45

On to step 4:
45 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 110.0
Deduct 0 from 0 and we're left with 0.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 45

Going ahead to step 5:
45 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 1100.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 45

Moving on to step 6:
45 can be fit into 31 0 times, resulting in a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 11000.0
If we subtract 0 from 31, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 7:
45 goes into 310 6 times with a remainder of 40.
The number 6 becomes the next digit in our result. 
Result so far: 11000.6
Deduct 270 from 310 and we're left 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.

Step 8:
The number 45 fits into 400 8 times, leaving a remainder of 40.
Put 8 as the next digit of the answer. 
Result so far: 11000.68
Subtracting 360 from 400 leaves us 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.

Advancing to step 9:
When dividing 400 by 45, we get 8 with a remainder of 40.
Use 8 as the next digit of our solution. 
Result so far: 11000.688
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.

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