1001^2*999^2
=(1000+1)^2*(1000-1)^2
=(1000^2-1)^2
=1000^4-2*1000^2+1
=1000000000001-2000000
=999998000001