I am examining the density of Primes in other sets than the naturals. E.g. we want to have the density of Mersenne Primes. From the prime number theorem I know that in the naturals we have $$ \frac{\pi(n)}{\frac{n}{\log(n)}} \rightarrow 1. $$
But what if I have a set $M^{\leq n} := \left\{m\in\mathbb N: m\leq n, m\text{ is a Mersenne number}\right\}$, which are all Mersenne numbers less or equal to $n$. And the function $ \pi_M(n) = \mid\left\{p\leq n, p\text{ is a Mersenne prime}\right\}\mid, $ which are the Mersenne primes less or equal than $n$.
What would be the correct way to examine their destiny? Would I look for the limit of $$ \frac{\pi_M(n)}{\frac{\mid M^{\leq n}\mid}{\log(n)}} $$ or rather $$ \frac{\pi_M(n)}{\frac{\mid M^{\leq n}\mid}{\log(\mid M^{\leq n}\mid)}} $$