retagged by
6,298 views
50 votes
50 votes

Let $n = m!$. Which of the following is TRUE?

  1. $m = \Theta (\log n / \log \log n)$
  2. $m = \Omega (\log n / \log \log n)$ but not $m = O(\log n / \log \log n)$
  3. $m = \Theta (\log^2 n)$
  4. $m = \Omega (\log^2 n)$ but not $m = Ο(\log^2 n)$
  5. $m = \Theta (\log^{1.5} n)$
retagged by

6 Answers

Best answer
23 votes
23 votes
$$\begin{array}{|l|l|} \hline \textbf{$m$} & \text{$n=m!$} & \text{$\log n / \log \log n$} \\\hline \text {4} &  \text{24} & \text{4/2 = 2} \\  \text {6} &  \text{720} & \text{9/3 = 3} \\  \text {8} &  \text{720$\times$56} & \text{15/3 = 5} \\  \text {10} &  \text{720$\times$56$\times$90} & \text{21/4 = 5} \\\hline \end{array}$$If we see, $m$ is growing at same rate as $ \log n / \log \log n$.
Correct Answer: $A$
edited by
4 votes
4 votes

$n=m!$
$n = m^m$
$logn = mlogm$
$m = \frac{logn}{logm}$
So, $m< logn$, hence $m = O(logn)$ from here $logm = loglogn$
$m = omega( \frac{logn}{loglogn})$. This is asympotically tight lower bound.
But, we can’t predict upper bound.
So, I'm not sure if answer is (A) or (B).

3 votes
3 votes
assuming all logs are of base m.

than logn=logm^m=m

and loglogn=logm.

evaluate all aymptotaics than i m finding B to be true

option B is the ans
Answer:

Related questions

751
views
1 answers
6 votes
go_editor asked Dec 29, 2016
751 views
A computer program computes a function $\: f \: \{0, 1\}^* \times \{0, 1\}^* \rightarrow \{0, 1\}^*$. Suppose $f(a, b)$ ahs length $\mid b \mid ^2$, where $\mid a \mid$ a...
813
views
1 answers
5 votes
go_editor asked Dec 27, 2016
813 views
Let $S$ be the $4 \times 4$ square grid $\{(x, y): x, y \in \{0, 1, 2, 3\} \}$. A $monotone \: \: path$ in this grid starts at $(0, 0)$ and at each step either moves one ...
849
views
1 answers
3 votes
go_editor asked Dec 29, 2016
849 views
Let $G$ be an undirected graph. For a pair $(x, y)$ of distinct vertices of $G$, let $\mathsf{mincut}(x, y)$ be the least number of edges that should be delted from $G$ s...
1.1k
views
1 answers
7 votes
go_editor asked Dec 29, 2016
1,072 views
Consider a family $\mathcal{F}$ of subsets of $\{1, 2, \dots , n\}$ such that for any two distinct sets $A$ and $B$ in $\mathcal{F}$ we have: $A \subset B$ or $ B \subset...