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
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
KEYWORD
nonn
AUTHOR
Altug Alkan, Sep 08 2015
STATUS
approved