OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[Mod[(n+1)!, Prime[n]], {n, 70}] (* Harvey P. Dale, Jun 08 2014 *)
PROG
(Magma) [Factorial(n+1) mod NthPrime(n): n in [1..80]]; // Vincenzo Librandi, Aug 22 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander R. Povolotsky, Mar 10 2013
STATUS
approved