The number \(x\) is such a number that exactly one of the four numbers \(a = x - \sqrt{2}\), \(b = x-1/x\), \(c = x + 1/x\), \(d = x^2 + 2\sqrt{2}\) is not an integer. Find all such \(x\).