Find the smallest positive integer $$n$$ for which the expansion of $$(xy-3x+7y-21)^n$$, after like terms have been collected, has at least 1996 terms.

(第十四届AIME1996 第3题)