login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

COMMENTS

Except for n = 4, this is ((n-1)!+1)/n for prime n, and (n-1)!/n otherwise.

LINKS

Table of n, a(n) for n=1..26.

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: A323274 A006924 A212580 * A227096 A152562 A006867

Adjacent sequences:  A261776 A261777 A261778 * A261780 A261781 A261782

KEYWORD

nonn

AUTHOR

Franklin T. Adams-Watters, Aug 31 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 17 12:07 EST 2020. Contains 331996 sequences. (Running on oeis4.)