Is 2017^4+4^{2017} a Prime Number?

  • Context:
  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Prime
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Is $2017^4+4^{2017}$ a prime?
 
Mathematics news on Phys.org
anemone said:
Is $2017^4+4^{2017}$ a prime?

$$\begin{align*}2017^4+4^{2017}&=(2017^2)^2+(2^{2017})^2 \\
&=(2017^2+2^{2017})^2-2\cdot2017^2\cdot2^{2017} \\
&=(2017^2+2^{2017})^2-2017^2\cdot2^{2018} \\
&=(2017^2+2^{2017}-2017\cdot2^{1009})(2017^2+2^{2017}+2017\cdot2^{1009})\end{align*}$$

$$Q.E.D.$$
 
anemone said:
Is $2017^4+4^{2017}$ a prime?

$2017^4 + 4^{2017}= (2017^2)^2 + (2^{2017})^2 + 2 * 2017^2 * 2^ {2017} - 2017^2 * ( 2^{1009})^2$
= $(2017^2+ 2^{2017})^2 - (2017 * 2^{1009})^2 $
= $(2017^2+ 2^{2017}+ 2017 * 2^{1009}) (2017^2+ 2^{2017}- 2017 * 2^{1009})$

it not a prime

edit: I posted my solution dispite the fact that gregs' solution came but I did not copy it
 
Thanks both for participating! :D