Let $M$ be the largest subset of $\{1,\dots,n\}$ such that for each $x\in M$, $x$ divides at most one other element in $M$. Prove that$$ |M|\leq \left\lceil \frac{3n}4\right\rceil. $$
My attempt:
Let $M_1 = \{x\in M;\;\exists !y\in M:\; x|y \} $ and $M_0 = M\setminus M_1$. Obviously both $M_0$ and $M_1$ are an antichains in $M$ and they make a partition of $M$. And this is all I can find. I was thinking about Dilworth theorem but... Also, I was thinking, what if I add a new element $k\in M^C$ to $M$. Then $M\cup \{k\}$ is no more ''good'' set...
Divide the $M$ integers into $\lceil\frac{n}{2}\rceil$ groups, depending on the maximum odd divisor. Notice we can take at most two from each group and some groups have size $1$, we do the analysis mod $4$.
$n=4k:$
number of groups: $2k$, number of groups of size $1: k$, upper bound: $3k=\lceil\frac{12k}{4}\rceil=\lceil\frac{3n}{4}\rceil$
$n=4k+1:$
number of groups: $2k+1$, number of groups of size $1: k+1$, upper bound: $3k+1=\lceil\frac{12k+3}{4}\rceil=\lceil\frac{3n}{4}\rceil$
$n=4k+2:$
number of groups: $2k+1$, number of groups of size $1: k$, upper bound: $3k+2=\lceil\frac{12k+6}{4}\rceil=\lceil\frac{3n}{4}\rceil$
$n=4k+3:$
number of groups: $2k+2$, number of groups of size $1: k+1$, upper bound: $3k+3=\lceil\frac{12k+12}{4}\rceil=\lceil\frac{3n}{4}\rceil$