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!)
A261997 a(n) = prime(n)! - prime(n!). 3
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
Sequence in context: A094200 A003705 A146214 * A362056 A061308 A302060
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 15 06:13 EDT 2024. Contains 375931 sequences. (Running on oeis4.)