OFFSET
1,1
COMMENTS
n divides (n-2)! for all composite n >= 6.
EXAMPLE
a(1) = 4 because 4!/6 = 4. That is, 6 divides 4!.
a(2) =90 because the next composite number after 6 is 8. 6!/8 = 90, which means 8 divides 6!
MATHEMATICA
f[n_] := If[PrimeQ[n], 0, (n-2)!/n]; Select[Table[f[n], {n, 30}], IntegerQ[#] && #>0&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, Oct 27 2012
STATUS
approved