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
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jul 31 2008
EXTENSIONS
Corrected and extended by Emeric Deutsch, Aug 14 2008
More terms from Harvey P. Dale, Sep 11 2012
STATUS
approved