a(n) is the smallest prime of the form abs(n^k - k^n), the absolute difference between n^k and k^n, or -1 if no such prime exists.
A078202
a(n) is the smallest prime of the form abs(n^k - k^n), the absolute difference between n^k and k^n, or -1 if no such prime exists.
Terms
- a(0) =2a(1) =7a(2) =2a(3) =3a(4) =7a(5) =5a(6) =79a(7) =7a(8) =431a(9) =58049a(10) =8375575711a(11) =11a(12) =13055867207a(13) =13a(15) =-1a(16) =130783a(17) =17a(18) =523927a(19) =19
External references
- oeis: A078202