A321518 Smallest k > 1 such that n^k + k^n is prime, i.e., a Leyland prime, or 0 if no such k exists.
3, 2, 0, 24
Offset: 2
Examples
For n = 5: 5^24 + 24^5 = 59604644783353249 is prime, and 24 is the smallest k > 1 such that 5^k + k^5 is prime, so a(5) = 24.
Links
- Robert Israel, Re: Smallest k > 1 such that n^k+k^n is prime, or 0 if no such k exists, Seqfan (Dec 11 2015).
- Wikipedia, Leyland number
Comments