A128447 Numbers k such that absolute value of 7^k - k^7 is prime.
2, 6, 20, 24, 18582, 20366
Offset: 1
Links
- Henri Lifchitz and Renaud Lifchitz, PRP Records.
Crossrefs
Programs
-
Mathematica
lst={};k=7;Do[If[PrimeQ[Abs[k^n-n^k]], AppendTo[lst, n]], {n, 0, 10^4}];lst (* Vladimir Joseph Stephan Orlovsky, Sep 10 2008 *)
-
PARI
is(n)=isprime(abs(7^n-n^7)) \\ Charles R Greathouse IV, Feb 17 2017
Extensions
a(5) and a(6) from Donovan Johnson, Mar 03 2008
Comments