(i) My house's number can be written as ABCD and it equals (AB)*(CD) – n, where n is the minimum with n ≥ 1. Find the number.
(ii) My cousin's house's number can be written as ABCD and it equals (AB)*(CD) + m, where m is the minimum with m ≥ 2. Find the number.
Note:
Each of A, B, C and D denotes a digit from 0 to 9 whether same or different; A is nonzero and, at least one of C and D is nonzero. Each of m and n is an integer. ABCD denotes the concatenation of the digits.