Here's the answer anyway:
i)In cases where the number of matches, n = 4k + 1, where k is any integer, since you start first, you will always lose.
Let's say, you picked p matches, the computer will pick q matches such that p + q = 4, so no matter what you do, you will end up having to take that last match and lose.
The numbers in these cases are 5, 9, 13, 17, 21..... etc.
ii)In cases where the number of matches, n is not in the form n = 4k + 1. You can always win by first choosing a number of matches such that the remaining number, m is in the form 4k + 1.
For example, let's say you start with 30. The greatest number closest to 30 in the form 4k + 1 is 29 (k = 7), so you chose 1 match first.
Hence, for every p matches the comp picked up, take q matches such that p + q = 4. You will win the game definitely.
Try it and see for yourself!