a: Để A là số tự nhiên thì \(\left\{{}\begin{matrix}3n+5⋮2n+1\\n\ge-\dfrac{1}{2}\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}6n+3+7⋮2n+1\\n\ge-\dfrac{1}{2}\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}2n+1\in\left\{1;-1;7;-7\right\}\\n\ge-\dfrac{1}{2}\end{matrix}\right.\Leftrightarrow n\in\left\{0;3\right\}\)
b: Để B là số nguyên âm thì \(\left\{{}\begin{matrix}4n+1\inƯ\left(10\right)\\n< =-\dfrac{1}{4}\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}4n+1\in\left\{1;-1;5;-5\right\}\\n< =-\dfrac{1}{4}\end{matrix}\right.\)
\(\Leftrightarrow n=-\dfrac{3}{2}\)