In my discrete math book, I was tasked with finding a counterexample for this:
If $n$ is prime, then $2^n-1$ is prime.
Does there exist a counterexample for such a statement? Also, am I wrong in thinking that when something asks for a counterexample, is it looking for some logic that proves the original statement to be false?
Any help is appreciated, as I've got a test on subjects like this tomorrow.
A counter-example is one instance in which the statement does not hold to be true. Let n=11. $2^{11} - 1$ is a composite number.
$2^{11}-1=2047 = 23 \cdot 89$