a) Để M nhận giá trị nguyên thì \(6n-1⋮3n+2\)
\(\Leftrightarrow6n+4-5⋮3n+2\)
\(\Leftrightarrow2\left(3n+2\right)-5⋮3n+2\)
Do \(2\left(3n+2\right)⋮3n+2\) \(\Rightarrow5⋮3n+2\)
Do 3n+2 chia 3 dư 2, mà 5 chia hết cho 3n+2
\(\Rightarrow3n+2\in\left\{-1;5\right\}\)
\(\Leftrightarrow n\in\left\{-1;1\right\}\)
Vậy: n=-1 hoặc n=1