I came across a statement in my book which claims that the problem P1 in NP-C and P2 is P.
P1: Given graph G(V, E), find out whether there exists an independent set of size k in the graph, where k is any positive integer.
P2: Given graph G(V, E), find out whether there exists an independent set of size 5 in the graph.
I cant get my head around this! I believe both should be in polynomial order.
Reason: $\binom{n}{5}=O(n^5)$ and so should $\binom{n}{k}=O(n^k)$.
Can anyone please explain whether I am right? or if not, what am I doing wrong?
Thanks in advance!