Prove n^2+2^n Composite if n not 6k+3

Click For Summary
For integers n greater than 1 that are not of the form 6k+3, it is proven that n^2 + 2^n is composite. The proof considers cases based on the possible forms of n, specifically 6k, 6k+1, 6k+2, 6k+4, and 6k+5. In each case, either 2 or 3 divides n^2 + 2^n, ensuring it is composite. The condition n ≠ 6k+3 is crucial because for this case, the expression can yield a prime result. The discussion emphasizes the importance of modular arithmetic in establishing divisibility by 3.
  • #31
You can write the even case without a ##c##. If ##n## is even, then ##n=2k\, , \,k>0## and ##n^2+2^n=4k^2+4^k\equiv 0 \mod 2## which is a bit shorter.

There are often situations in mathematics where symmetric cases (like odd/even) are not treated by the same methods. One case could be easy, the other one difficult, or require more sub-cases like ##c=1,5## in our case.
 
  • Like
Likes Math100

Similar threads

Replies
3
Views
1K
Replies
3
Views
2K
Replies
7
Views
4K
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 3 ·
Replies
3
Views
862