login
A166326
a(n) = prime(n)^(prime(n)+1) - (prime(n)+1)^prime(n).
1
-1, 17, 7849, 3667649, 2395420006033, 3143661612445145, 11877172892329028459041, 32347093457545958193355601, 424678439961073471604787362241217
OFFSET
1,2
FORMULA
a(n) = A104126(n) - A104127(n) = A007925(A000040(n)). - R. J. Mathar, Oct 14 2009
EXAMPLE
a(1) = 2^3 - 3^2 = -1. a(2) = 3^4 - 4^3 = 17. a(3) = 5^6 - 6^5 = 7849.
MATHEMATICA
Array[Prime[ # ]^(Prime[ # ]+1)-(Prime[ # ]+1)^Prime[ # ]&, 16]
CROSSREFS
KEYWORD
sign
AUTHOR
EXTENSIONS
Keyword:sign set by R. J. Mathar, Oct 14 2009
STATUS
approved