Để \(\dfrac{a^2+a+3}{a+1}\)Là số nguyên thì
\(a^2+a+3⋮a+1\Rightarrow a.a+a+3⋮a+1\)
\(\Rightarrow a.\left(a+1\right)+3⋮a+1\)
\(\Rightarrow3⋮a+1\)
=> \(a+1\in\) Ư(3)
Ư(3) = { \(\pm1;\pm3\)}
a+1 =1 => a=0
a+1= -1 => a = -2
a+ 1 = 3 => a = 2
a+ 1 = -3 => a = -4
=> a = 0;-2;2;-4