login
A154833
Numbers n such that n^5-2 is prime.
9
3, 13, 31, 63, 93, 139, 181, 211, 229, 265, 271, 303, 325, 339, 343, 345, 411, 441, 519, 523, 531, 549, 555, 573, 619, 663, 675, 681, 693, 741, 751, 805, 819, 835, 853, 861, 945, 951, 969, 975, 993, 1063, 1071, 1095, 1119, 1143, 1275, 1281, 1305, 1329
OFFSET
1,1
COMMENTS
3^5-2=241 prime, 13^5-2=371291 prime,...
LINKS
MATHEMATICA
lst={}; Do[p=n^5-2; If[PrimeQ[p], AppendTo[lst, n]], {n, 0, 7!}]; lst
Select[Range[2 10^3], PrimeQ[#^5 - 2] &] (* Vincenzo Librandi, Mar 20 2014 *)
PROG
(Magma) [n: n in [1..500] | IsPrime(n^5-2)]; // Vincenzo Librandi, Nov 26 2010
(PARI) is(n)=isprime(n^5-2) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved