OFFSET
3,1
MATHEMATICA
NextPrime[#, -1]&/@(Range[3, 25]!-1) (* Harvey P. Dale, May 04 2014 *)
PROG
(PARI) A037154(n) = {local(r); if(n<3, 1, r=n!-2; while(!isprime(r), r--); r)} \\ Michael B. Porter, Feb 02 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved