Forget conventional ways of solving math questions. In DS, Variable approach is the easiest and quickest way to find the answer without actually solving the problem. Remember equal number of variables and independent equations ensures a solution.
If p is a positive odd integer, what is the remainder when p is divided by 4 ?
(1) When p is divided by 8, the remainder is 5.
(2) p is the sum of the squares of two positive integers.
In the original condition, there is 1 variables(p), which should match with the number of equation. So you need 1 equation. For 1) 1euquation, for 2) 1 equation, which is likely to make D the answer. In 1), the remainder from p=8m+5=4(2m+1)+1 is 1, which is unique and sufficient.
In 2), from p=odd=a^2+b^2, either a or b should be an even integer and the other should be an odd integer. In case of even^2+odd^2, even^2 is always divided by 4. For odd^2, from 1^2=1, 3^2=9, 5^2=25, 7^2=49, 9^2=81, all of them are divided by 4 and the remainder is 1, which is unique and sufficient. Therefore, the answer is D.
For cases where we need 1 more equation, such as original conditions with “1 variable”, or “2 variables and 1 equation”, or “3 variables and 2 equations”, we have 1 equation each in both 1) and 2). Therefore, there is 59 % chance that D is the answer, while A or B has 38% chance and C or E has 3% chance. Since D is most likely to be the answer using 1) and 2) separately according to DS definition. Obviously there may be cases where the answer is A, B, C or E.