We know cyclotomic polynomials $\Phi_{2^kp^rq^m}(x)$ have coefficients in $\{0,\pm1\}$.
What is the largest degree $f_{d,n}(x)=\frac{x^{2^{k}p^{r}q^{m}}-1}{\Phi_d(x)}$ with $\{0,\pm1\}$ coefficients where $1<d<2^{k}p^{r}q^{m}$ with $d|2^{k}p^{r}q^{m}$ holds? (bound by
$a$ for given integer $a\in\Bbb Z$is not needed).What properties of $d$ give only $\{0,\pm1\}$ coefficients to $f_{d,n}(x)$ at given $2^{k}p^{r}q^{m}$?