login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A218385
(n-2)!/n when an integer.
0
4, 90, 560, 4032, 302400, 34214400, 415134720, 5448643200, 1162377216000, 320118685286400, 5792623828992000, 110586454917120000, 46833363657400320000, 1034080669555399065600, 23863400066663055360000, 574489260864110592000000, 14403266468807344128000000, 10162944820390462016716800000
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
Cf. A129906.
Sequence in context: A376299 A292304 A337081 * A189882 A067767 A240379
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, Oct 27 2012
STATUS
approved