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”).

A141103
a(n) = prime(n^n) - n^n.
0
1, 3, 76, 1363, 25562, 521215, 11756074, 293471025, 8060863268, 242097800623
OFFSET
1,2
EXAMPLE
a(1) = prime(1^1) - 1^1 = prime(1) - 1 = 2 - 1 = 1;
a(4) = prime(4^4) - 4^4 = prime(256) - 256 = 1619 - 256 = 1363.
MAPLE
p:=ithprime: seq(p(n^n)-n^n, n=1..8); # Emeric Deutsch, Aug 14 2008
MATHEMATICA
Prime[#^#]-#^#&/@Range[10] (* Harvey P. Dale, Sep 11 2012 *)
CROSSREFS
Sequence in context: A168385 A042267 A201428 * A300386 A054747 A302375
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected and extended by Emeric Deutsch, Aug 14 2008
More terms from Harvey P. Dale, Sep 11 2012
STATUS
approved