login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A166326 a(n) = prime(n)^(prime(n)+1) - (prime(n)+1)^prime(n). 1
-1, 17, 7849, 3667649, 2395420006033, 3143661612445145, 11877172892329028459041, 32347093457545958193355601, 424678439961073471604787362241217 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
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
Sequence in context: A198406 A198533 A192766 * A203678 A257044 A114924
KEYWORD
sign
AUTHOR
EXTENSIONS
Keyword:sign set by R. J. Mathar, Oct 14 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)