login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A262185 a(n) = n^prime(n!) - prime(n!)^n. 0
-1, -1, -1, 1592126, 383123885216472214589586756787577295904684780483158303 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

Inspired by A007965.

LINKS

Table of n, a(n) for n=0..4.

FORMULA

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

EXAMPLE

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

MATHEMATICA

Table[n^Prime[n!] - Prime[n!]^n, {n, 0, 4}] (* Michael De Vlieger, Sep 14 2015 *)

PROG

(PARI) a(n) = n^prime(n!) - prime(n!)^n;

vector (6, n, a(n-1))

(MAGMA) [n^NthPrime(Factorial(n)) - NthPrime(Factorial(n))^n: n in [0..6]]; // Vincenzo Librandi, Sep 15 2015

CROSSREFS

Cf. A000040, A062439, A007965.

Sequence in context: A252881 A183669 A234830 * A104827 A198171 A220467

Adjacent sequences:  A262182 A262183 A262184 * A262186 A262187 A262188

KEYWORD

sign,easy

AUTHOR

Altug Alkan, Sep 14 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 23 02:57 EDT 2019. Contains 321422 sequences. (Running on oeis4.)