I am looking for sequences $\{a_n\} \subset \mathbb{N}$ with the following properties:
(1) $\displaystyle \# \{a_n \leq x \} = \frac{x}{\sqrt{\log x}} + O_\epsilon(x^{1/2 + \epsilon})$, and
(2) $\# \{a_n : a_n \equiv a \pmod{m}\} = \frac{x}{\phi(m)\sqrt{\log x}} + O_\epsilon(x^{1/2 + \epsilon})$ whenever $\gcd(a,m) = 1$.
In other words, $\{a_n\}$ looks like a thicker version of the primes.
Are there any such examples?