This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A127634 a(n) = 3^(n-1) - ceiling(n^n/n!). 1
 0, 1, 4, 16, 54, 178, 565, 1770, 5493, 16927, 51901, 158533, 482802, 1466859, 4448104, 13467249, 40720970, 122994566, 371156622, 1119161662, 3372427789, 10156591942, 30573367574, 91993546765, 276703494365, 832023918335, 2501142914874, 7516883840470 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 COMMENTS Theorem: 3^(n-1) > n^n/n! for n >= 3. REFERENCES D. S. Mitrinovic, Analytic Inequalities, Springer-Verlag, 1970; p. 193, 3.1.21. LINKS Robert Israel, Table of n, a(n) for n = 1..2094 MAPLE seq(3^(n-1)-ceil(n^n/n!), n=1..50); # Robert Israel, Jul 06 2017 MATHEMATICA Table[3^(n-1) - Ceiling[n^n / n!], {n, 30}] (* Vincenzo Librandi, Jul 06 2017 *) PROG (PARI) a(n) = 3^(n-1) - ceil(n^n/n!); \\ Michel Marcus, Jul 06 2017 (MAGMA) [3^(n-1)-Ceiling(n^n/Factorial(n)): n in [1..30]]; // Vincenzo Librandi, Jul 06 2017 CROSSREFS Cf. A000244, A073225. Sequence in context: A238419 A267227 A223944 * A288187 A212520 A115108 Adjacent sequences:  A127631 A127632 A127633 * A127635 A127636 A127637 KEYWORD nonn AUTHOR N. J. A. Sloane, Apr 03 2007 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 17 05:27 EDT 2018. Contains 313810 sequences. (Running on oeis4.)