We will use the fact that if p prime, a divides p, then a = p or a = 1.
Then if p + q = r, for primes p, q, r, then one of p,q,r is even, or all three are (consider mod 2). p = q = r = 2 clearly doesn't work, and p + q = 2 doesn't work for primes p,q >= 3. So without loss of generality p = 2, then r = q+2. r is also the difference of two primes, r = s - t. Again considering mod 2, knowing that r is odd, one of s or t is even (and so equal to 2). If s = 2 then r is negative, so t = 2, and we have q + 2 = r = t - 2, so t = q + 4.
So we have q, r = q + 2 and t = q + 4 all prime. By considering q mod 3, one of them has a factor 3. If a prime has a factor 3, it is equal to 3. So q = 3, as q + 2 = 3 or q + 4 = 3 mean q is not prime. So, r = q + 2 = 5. Therefore, 5 is the only prime that can be represented as both the sum of two primes and the difference of two primes: 5 = 2 + 3 = 7 - 2. Since it is the only one, it is the greatest.
Chat with our AI personalities
the difference between the greatest and the least number in a set of numbers
it is the greatest number in a set minus the least number in the same set. the difference is the range.
Greatest 2 digit prime number is 97. Lease 2 digit prime number is 11.
The set of real numbers is represented by a fancy script "R". However, real numbers are just represented by a number (be it integer, rational, irrational, or otherwise). The key here is that it is not a complex number (number containing the imaginary number "i").
The difference is 90000000