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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A261997 a(n) = prime(n)! - prime(n!). 2
0, 3, 107, 4951, 39916141, 6227015357, 355687428046967, 121645100408347963, 25852016738884971417571, 8841761993739701954543554805353, 8222838654177922817725562105174617 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(n) is prime for n = 2, 3, 4, 5, 7.

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..21

FORMULA

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

log a(n) ~ n log^2 n. - Charles R Greathouse IV, Sep 08 2015

EXAMPLE

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

MATHEMATICA

Array[Prime[#]! - Prime[#!] &, {11}] (* Michael De Vlieger, Sep 08 2015 *)

PROG

(PARI) vector(11, n, prime(n)! - prime(n!))

CROSSREFS

Cf. A039716, A062439.

Sequence in context: A094200 A003705 A146214 * A061308 A302060 A112879

Adjacent sequences:  A261994 A261995 A261996 * A261998 A261999 A262000

KEYWORD

nonn

AUTHOR

Altug Alkan, Sep 08 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 September 21 07:08 EDT 2019. Contains 327253 sequences. (Running on oeis4.)