Let (N, c) be any ordered pair of positive constants. Let n be any integer such that n> N and n> c.
Then (2n + 1)! > (2n + 1) * n! > cn!
Thus, for any pair of positive constants (N, c), there exists n> N such that (2n + 1)! > cn !, so (2n + 1)! is not O (n!).
O ((2n + 1)!) Contains the function (2n + 1) !, that is, not in O (n!), Therefore O ((2n + 1)!) And O (n!) Are not the same.
(I agree with LaTeX's desire.)
source share