[go: up one dir, main page]

login
A261997
a(n) = prime(n)! - prime(n!).
3
0, 3, 107, 4951, 39916141, 6227015357, 355687428046967, 121645100408347963, 25852016738884971417571, 8841761993739701954543554805353, 8222838654177922817725562105174617
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