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

A127688
a(n) = (n+1)^n - n!!.
2
0, 1, 7, 61, 617, 7761, 117601, 2097047, 43046337, 999999055, 25937420761, 743008360293, 23298085076401, 793714773119009, 29192926024745505, 1152921504604819951, 48661191875656546561, 2185911559738662072543, 104127350297911055738281, 5242879999999999345270925
OFFSET
0,3
COMMENTS
Theorem: (n+1)^n > n!! for n>0.
REFERENCES
D. S. Mitrinovic, Analytic Inequalities, Springer-Verlag, 1970; p. 192, 3.1.15.
LINKS
MAPLE
seq((n+1)^n - doublefactorial(n), n=0..10); # Georg Fischer, Apr 10 2024
MATHEMATICA
Table[(n+1)^n - (n)!!, {n, 0, 10}] (* Georg Fischer, Apr 10 2024 *)
CROSSREFS
Sequence in context: A077642 A071172 A259335 * A111532 A379996 A061634
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 03 2007
EXTENSIONS
Formula changed by Georg Fischer, Apr 10 2024
STATUS
approved