OFFSET
1,2
EXAMPLE
The 3rd prime is 5, a(3)= 5! - 3! = 114.
MATHEMATICA
Array[Prime[#]! - #! &, {12}] (* Michael De Vlieger, Aug 19 2015 *)
PROG
(Magma) [Factorial(NthPrime(n)) - Factorial(n): n in [1..15]]; // Vincenzo Librandi, Aug 20 2015
(PARI) first(m)=vector(m, i, prime(i)!-i!) \\ Anders Hellström, Aug 20 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Altug Alkan, Aug 19 2015
STATUS
approved