cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A166326 a(n) = prime(n)^(prime(n)+1) - (prime(n)+1)^prime(n).

Original entry on oeis.org

-1, 17, 7849, 3667649, 2395420006033, 3143661612445145, 11877172892329028459041, 32347093457545958193355601, 424678439961073471604787362241217
Offset: 1

Views

Author

Keywords

Examples

			a(1) = 2^3 - 3^2 = -1. a(2) = 3^4 - 4^3 = 17. a(3) = 5^6 - 6^5 = 7849.
		

Crossrefs

Programs

  • Mathematica
    Array[Prime[ # ]^(Prime[ # ]+1)-(Prime[ # ]+1)^Prime[ # ]&,16]

Formula

a(n) = A104126(n) - A104127(n) = A007925(A000040(n)). - R. J. Mathar, Oct 14 2009

Extensions

Keyword:sign set by R. J. Mathar, Oct 14 2009
Showing 1-1 of 1 results.