217989 divided by 45 
We want to figure out the number of times 217989 can be divided by 45.

Let's proceed 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
The remainder is 2 after subtracting 0 from 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 45

Advancing to step 2:
If we divide 21 by 45, we get 0 and a remainder of 21.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 21 to get 21.
Include the next digit (7) from the dividend after 21, then repeat: 217 / 45

Step 3:
45 can be fit into 217 4 times, resulting in a remainder of 37.
Write down 4 as next digit of the result. 
Result so far: 4.0
Deduct 180 from 217 and we're left with 37.
Bring next digit (9) of the dividend behind the 37 and repeat the process: 379 / 45

Going ahead to step 4:
When dividing 379 by 45, we get 8 with a remainder of 19.
Record the quotient 8 as the next digit in the result. 
Result so far: 48.0
The remainder is 19 after subtracting 360 from 379.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 45

Going ahead to step 5:
If we divide 198 by 45, we get 4 and a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 484.0
If we subtract 180 from 198, we get 18.
Append the next digit (9) from the dividend to 18 and continue with: 189 / 45

Advancing to step 6:
45 goes into 189 4 times with a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 4844.0
Deduct 180 from 189 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 7:
If we divide 90 by 45, we get 2 and a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 4844.2
Deduct 90 from 90 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.

Advancing to step 8:
If we divide 0 by 45, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 4844.2
If we take 0 away from 0, we end up 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.

Advancing to step 9:
45 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 4844.2
Subtracting 0 from 0 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.

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