OFFSET
1,1
EXAMPLE
a(1) = 2^1 + 1^2 = 3.
a(2) = 3^2 + 2^3 = 17.
a(3) = 5^3 + 3^5 = 368.
MAPLE
a:= n-> (p-> p^n+n^p)(ithprime(n)):
seq(a(n), n=1..15); # Alois P. Heinz, Aug 26 2015
MATHEMATICA
Table[n^Prime[n] + Prime[n]^n, {n, 1, 15}] (* Stefan Steinerberger, Feb 28 2006 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Sep 27 2004
EXTENSIONS
More terms from Stefan Steinerberger, Feb 28 2006
STATUS
approved