877637 divided by 45 
We want to divide 877637 by 45.

Step 1:
The number 45 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 45

Going ahead to step 2:
If we divide 87 by 45, we get 1 and a remainder of 42.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 45 from 87 to get 42.
Append the next digit (7) from the dividend to 42 and continue with: 427 / 45

Let's proceed to step 3:
If we divide 427 by 45, we get 9 and a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 19.0
If we subtract 405 from 427, we get 22.
Include the next digit (6) from the dividend after 22, then repeat: 226 / 45

Step 4:
226 divided by 45 is 5 with a remainder of 1.
The next digit of our result is 5. 
Result so far: 195.0
If we take 225 away from 226, we end up with 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 45

Going ahead to step 5:
The number 45 fits into 13 0 times, leaving a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 1950.0
If we subtract 0 from 13, we get 13.
Include the next digit (7) from the dividend after 13, then repeat: 137 / 45

On to step 6:
The number 45 fits into 137 3 times, leaving a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 19503.0
Subtract 135 from 137 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
45 can be fit into 20 0 times, resulting in a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 19503.0
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
45 can be fit into 200 4 times, resulting in a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 19503.04
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
45 can be fit into 200 4 times, resulting in a remainder of 20.
Use 4 as the next digit of our solution. 
Result so far: 19503.044
Deduct 180 from 200 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 19503.044, and the remainder is 0.002.