login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A098138
a(n) = p^n + n^p where p = prime(n).
0
3, 17, 368, 18785, 48989176, 13065520825, 232630924325880, 144115205059418913, 8862938121453653757392, 100000000000000420707233300201, 191943424957750505912623737696642, 8505622499821102144582714636120669969873, 4695452425098908797088972334440524350089758134
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
Sequence in context: A192556 A144033 A349643 * A009719 A332758 A023150
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Sep 27 2004
EXTENSIONS
More terms from Stefan Steinerberger, Feb 28 2006
STATUS
approved