login
A180742
Numbers n such that n^7-n^5+1 is prime.
1
2, 4, 7, 9, 14, 20, 22, 30, 35, 39, 45, 51, 56, 57, 70, 75, 79, 87, 89, 92, 104, 110, 111, 115, 121, 122, 127, 160, 164, 176, 195, 210, 211, 222, 232, 237, 246, 255, 257, 294, 301, 306, 315, 336, 356, 360, 372, 375, 382, 406, 412, 429, 444, 445, 462
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[10000], PrimeQ[#^7-#^5+1]&] (* Vincenzo Librandi, Jun 21 2012 *)
PROG
(Magma) [n: n in [0..1000]|IsPrime(n^7-n^5+1)]
(PARI) is(n)=isprime(n^7-n^5+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A100486 A139533 A227116 * A039904 A115162 A278977
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 22 2011
STATUS
approved