Intersection of dense sets in $\mathbb{N}$

Let's call $A\subseteq\mathbb{N}$ dense if $$\text{lim inf}_{n\to\infty}\frac{|A\cap\{1,\ldots,n\}|}{n} = 1.$$

Is the intersection of two dense sets dense again? Or does the intersection of two dense sets at least satisfy the weaker statement $$\text{lim sup}_{n\to\infty}\frac{|A\cap\{1,\ldots,n\}|}{n} = 1?$$

• It might help to notice that $(A\cap B)\subset A$. – Olivier Oloa Feb 7 '16 at 19:49
• @OlivierOloa How? – Did Feb 7 '16 at 20:06
• This can be stated equivalently as: Set with density zero form an idal. Sets with asymptotic density equal to 1 form a filter. – Martin Sleziak Apr 14 '16 at 5:20

Yes. Equivalently, $A$ is dense if its complement $A^c$ satisfies $$\limsup_{n\to\infty} \frac{\#(A^c \cap \{1,\dots,n\})}n = 0.$$ And this property certainly respects finite addition, since \begin{align*} \#\big((A\cap B)^c \cap \{1,\dots,n\}\big) &= \#\big( (A^c \cap \{1,\dots,n\}) \cup (B^c \cap \{1,\dots,n\}) \big) \\ &\le \#(A^c \cap \{1,\dots,n\}) + \#(B^c \cap \{1,\dots,n\}). \end{align*}
We can make $A,B$ disjoint and have each of them "lim sup dense". For each $n=1,2,...$: On step $2n-1$ put enough consecutive naturals in $A$ to bring its density so far up to $1-1/(n+1).$ Then on step $2n$ put enough of the so far unused consecutive naturals in $B$ to bring its density so far up to again $1-1/(n+1).$ Alternating in this way, there are always infinitely many left so one can bring the $A$ or $B$ density up to where one wants.