OFFSET
1,1
FORMULA
EXAMPLE
a(1) = 1^1 + 1^2 = 2.
a(2) = 2^2 + 2^3 = 12.
a(3) = 3^3 + 3^5 = 270.
MATHEMATICA
Table[n^Prime[n] + n^n, {n, 1, 15}] (* Stefan Steinerberger, Feb 28 2006 *)
PROG
(PARI) first(m)=vector(m, i, i^i + i^prime(i)) \\ Anders Hellström, Aug 26 2015
(Magma) [n^n + n^(NthPrime(n)): n in [1..20]]; // Vincenzo Librandi, Aug 27 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Sep 27 2004
EXTENSIONS
More terms from Stefan Steinerberger, Feb 28 2006
a(12)-a(13) from Vincenzo Librandi, Aug 27 2015
STATUS
approved