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.

A262185 a(n) = n^prime(n!) - prime(n!)^n.

Original entry on oeis.org

-1, -1, -1, 1592126, 383123885216472214589586756787577295904684780483158303
Offset: 0

Views

Author

Altug Alkan, Sep 14 2015

Keywords

Comments

Inspired by A007965.

Examples

			For n = 1, a(n) = n^prime(n!) - prime(n!)^n = 1^2 - 2^1 = -1.
		

Crossrefs

Programs

  • Magma
    [n^NthPrime(Factorial(n)) - NthPrime(Factorial(n))^n: n in [0..6]]; // Vincenzo Librandi, Sep 15 2015
  • Mathematica
    Table[n^Prime[n!] - Prime[n!]^n, {n, 0, 4}] (* Michael De Vlieger, Sep 14 2015 *)
  • PARI
    a(n) = n^prime(n!) - prime(n!)^n;
    vector (6, n, a(n-1))
    

Formula

a(n) = n^A062439(n) - A062439(n)^n.