OFFSET
1,4
COMMENTS
A variant of Wilson's theorem says that this is always an integer.
LINKS
Harry J. Smith, Table of n, a(n) for n=1..50
Ed Pegg, Jr., Math. Puzzles
MAPLE
A066161:=n->((ithprime(n)-2)!-1)/ithprime(n): seq(A066161(n), n=1..15); # Wesley Ivan Hurt, Dec 01 2015
MATHEMATICA
Table[((Prime[n] - 2)! - 1)/Prime[n], {n, 15}] (* Wesley Ivan Hurt, Dec 01 2015 *)
((#-2)!-1)/#&/@Prime[Range[20]] (* Harvey P. Dale, Jun 19 2021 *)
PROG
(PARI) { for (n=1, 50, p=prime(n); write("b066161.txt", n, " ", ((p - 2)! - 1)/p) ) } \\ Harry J. Smith, Feb 03 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 13 2001
STATUS
approved