OFFSET
1,1
COMMENTS
LINKS
R. J. Cano (updated by Derek Orr), Additional Information
EXAMPLE
a(3) = 3^2 + 2^3 = 17.
a(4) = 4^1 + 1^4 = 5.
PROG
See "Additional Information" in links.
(PARI)
a(n)=k=1; while(!ispseudoprime(n^k+k^n), k++); return(n^k+k^n)
vector(10, n, a(n)) \\ Derek Orr, Aug 10 2014
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Amarnath Murthy, Nov 21 2002
EXTENSIONS
Extended and updated by Derek Orr, Aug 10 2014
STATUS
approved