3
$\begingroup$

It says:

Prove by contradiction that any prime number is either of the form of $ab+1$ or $ab+5$.

And this was all. But it seems both belong to $\mathbb{N} \cup \{0\}$. Because otherwise it wouldn't hold for $2$ which is prime.

What the problem says is to say:

$$(p\neq ab+1)\wedge (p\neq ab+5)\implies p\text{ is not prime}$$

I tried to show it would then be written as the product of two numbers and thus not prime. But up to what number should I do that?

Stuck.

  • 3
    Take $a=1$ and $b=p-1$. Don't even need to assume that $p$ is prime.2017-01-10
  • 0
    I thought you were asking to prove that it was at least one or the other. How would you write $2$ as $ab+5$?2017-01-10
  • 0
    If $p$ is at least $6$ (or if you allow $b<0$) you can take $a=1$, $b=p-5$. But, clearly, these expressions are somewhat silly. I expect you are missing some conditions.2017-01-10
  • 1
    Not following. The problem seems entirely trivial...I think something else must be intended.2017-01-10
  • 0
    Please trust my word - the problem is meaningless as stated. Check the text again.2017-01-10
  • 0
    @AndreasCaranti The word to word translation would lead to what I have written in the edit. If it is meaningless, the textbook must have been wrong.2017-01-10
  • 0
    @AHB, I trust your word. So there were no quantifications, such as "for some $a, b$..."?2017-01-10

1 Answers 1

1

HINT: Consider modulus 6. A number $p $ taken modulus 6 can only be $0, 1, 2, 3, 4$ or $5$. What happens if $p $ is either $0, 2$ or $4$ mod 6? What if it is $3$ mod 6?

  • 0
    Why did you choose 6?2017-01-10
  • 0
    @AHB some guessing, a bit of intuition and a couple of exercises I once did on modular arithmetic. The point is: if I were to take them modulus 5, the $ab + 5$ would not yield anything meaningful. One tries the next number and luckily it works just fine.2017-01-10
  • 0
    It seems you read the question in some way different from @lulu. In a way where this investigation makes sense. I don't see which way. Did you assume any constraints on $a$, $b$ and $p$ beyond those explicitely stated, which motivated your line of thought?2017-01-10