this is the sort of problem that is about 1000 times as hard to solve with theory as it is to solve just by picking numbers.
WITH DS PROBLEMS ABOUT REMAINDERS, YOU SHOULD STRONGLY CONSIDER NUMBER-PICKING SOLUTIONS.watch how simple the number-picking solution is:
(1) When n is divided by 21, the remainder is an odd number
let's just pick some numbers that give odd remainders upon division by 21.
* how about n = 22 (gives a remainder of 1 upon division by 21, so satisfies the statement)
--> when you divide this by 7, you get a remainder of 1
* how about n = 24 (gives a remainder of 3 upon division by 21, so satisfies the statement)
--> when you divide this by 7, you get a remainder of 3
insufficient.
(2) when n is divided by 28, the remainder is 3
let's just pick some numbers that give a remainder of 3 upon division by 28.
to get these, add 3 to a bunch of multiples of 28
--> 31, 59, 87, 115, 143, etc.
if you divide these by 7, you'll notice that the remainders are all 3.
--> clear PATTERN of the same # every time
--> sufficient!
--
by the way, the theory way to solve #2 is:
write n = 28k + 3, where k is an integer
therefore, since 28k is a multiple of 7, that part won't contribute to the remainder when you divide by 7; thus the remainder will be 3.