On algebraic numbers close to 1