(A) N is the minimum positive integer such that 2013*N is a perfect square and 2014*N is a perfect cube.
Determine (with proof) the remainder when N is divided by 7.
(B) What would have been the answer if 2013*N was a perfect cube and 2014*N was a perfect square?