\(x^3-3x^2-3x-1=\left(x-4\right)\left(x^2+x+1\right)+3\)
\(\Rightarrow x^3-3x^2-3x-1\) chia hết \(x^2+x+1\) khi \(3⋮x^2+x+1\)
\(\Rightarrow x^2+x+1=Ư\left(3\right)\) (1)
Mà x nguyên dương \(\Rightarrow x^2+x+1\ge1^2+1+1=3\) (2)
(1);(2) \(\Rightarrow x^2+x+1=3\)
\(\Rightarrow x=1\)