Let $\mathcal{P}$ be the set of primes and, for $a>1$, put
$$
\mathcal{S}_a=\{p+\lfloor a^k\rfloor\mid p\in\mathcal{P},\ k\in\mathbb{N}\}.
$$
Erdős recorded a question of Kalmár asking whether $\mathcal{S}_a$ has positive lower asymptotic density for every real $a>1$. We prove this for almost every real $a>1$. In fact,
$$
\liminf_{N\to\infty}\frac{|\mathcal{S}_a\cap[1,N]|}{N}
\ge \frac{1}{\log a+9C_0/π^2},
$$
where $C_0$ is an absolute constant. The dependence on $a$ has the correct order $1/\log a$ as $a\to\infty$. The proof is based on residue distribution and weighted pair correlation estimates for the sequence $\lfloor a^k\rfloor$.
Using a recent theorem of Radomskii, we also prove that, for every fixed $a>1$ and every $η>0$, the number of positive integers $n\le x$ outside $\mathcal{S}_a$ is at least $x^{1-η}$ for all sufficiently large $x$.
We then turn to another problem of Erdős, which asks whether every sufficiently large odd integer is the sum of a squarefree integer and a power of two. Let $\mathcal{Q}$ denote the positive squarefree integers. Replacing $2^m$ by $\lfloor a^m\rfloor$, we prove that for almost every $a>1$ and every $\varepsilon>0$, the numbers of exceptional integers not exceeding $x$ for
$$
\mathcal{Q}+\{\lfloor a^m\rfloor\mid m\ge1\}
\quad\text{and}\quad
\mathcal{Q}+\{\lfloor a^m\rfloor+\lfloor a^\ell\rfloor\mid 1\le m<\ell\}
$$
are respectively
$$
O\!\left(\frac{x(\log\log x)^{1+\varepsilon}}{\sqrt{\log x}}\right)
\quad\text{and}\quad
O\!\left(\frac{x(\log\log x)^{1+\varepsilon}}{\log x}\right),
$$
where the implied constants depend only on $a$ and $\varepsilon$.
Trigonometric approximation and a general form of the Erdős Turán inequality
There exists a positive function $ψ(t)$ {on} $t\geq0$ {, with fast decay at infinity, such that for every measurable set } $Ω$ {in the Euclidean space and} $R>0$ {, there exist entire functions} $A(x) $ {and} $B(x) $ {of exponential type} $R$ {, satisfying\} $A(x)\leq χ_Ω(x)\leq B(x)$ {and} $| B(x)-A(x)| \leqslantψ(R\operatorname*{dist}(x,\partialΩ)) $ . This leads to Erdős Turán estimates for discrepancy of point set distributions in the multi dimensional torus. Analogous results hold for approximations by eigenfunctions of differential operators and discrepancy on compact manifolds.