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”).

A261779
a(n) = ceiling((n-1)! / n).
1
1, 1, 1, 2, 5, 20, 103, 630, 4480, 36288, 329891, 3326400, 36846277, 444787200, 5811886080, 81729648000, 1230752346353, 19760412672000, 336967037143579, 6082255020441600, 115852476579840000, 2322315553259520000, 48869596859895986087, 1077167364120207360000, 24817936069329577574400, 596585001666576384000000
OFFSET
1,4
COMMENTS
Except for n = 4, this is ((n-1)!+1)/n for prime n, and (n-1)!/n otherwise.
MATHEMATICA
Table[Ceiling[((n-1)!)/n], {n, 30}] (* Harvey P. Dale, Oct 04 2018 *)
PROG
(PARI) a(n) = ceil((n-1)!/n)
CROSSREFS
Cf. A007619 (prime index elements).
Sequence in context: A006924 A212580 A370669 * A227096 A152562 A006867
KEYWORD
nonn
AUTHOR
STATUS
approved