The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A174318 a(n) = ceiling(n!/e) with e = A001113 = exp(1). 0
1, 1, 1, 3, 9, 45, 265, 1855, 14833, 133497, 1334961, 14684571, 176214841, 2290792933, 32071101049, 481066515735, 7697064251745, 130850092279665, 2355301661033953, 44750731559645107, 895014631192902121, 18795307255050944541, 413496759611120779881 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
REFERENCES
F. S. Roberts, Applied Combinatorics, Prentice-Hall, 1984, p. 263.
LINKS
FORMULA
a(2n) = A000166(2n). a(2n+1) = A000166(2n+1)+1.
MATHEMATICA
Table[Ceiling[n!*Exp[ -1]], {n, 0, 30}]
PROG
(PARI) a(n) = ceil(n!/exp(1)); \\ Michel Marcus, May 15 2017
CROSSREFS
Cf. A000166.
Sequence in context: A328267 A038059 A369388 * A338575 A004990 A027616
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 15 2010
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 16:37 EDT 2024. Contains 372738 sequences. (Running on oeis4.)