Is there a simple test for $n$ to determine if there exists an integer $x$ such that $x$($x+1$) $=$ $1$ $\pmod n$. For example, $n$ $=$ $3$ and $n$ $=$ $7$, there are no integers $x$ such that $x$($x+1$) $=$ $1$ $\pmod n$. But for $n$ $=$ $5$ and $n$ $=$ $11$, there are integers $x$ such that $x$($x+1$) $=$ $1$ $\pmod n$. There are namely,
$x = 2$, $2*3$ $=$ $1$ $\pmod 5$
$x = 7$, $7*8$ $=$ $1$ $\pmod {11}$
It is confusing to find out which integers $n$ have this property. Maybe there is a special (mathematical) property these numbers have. Help is appreciated. Thanks.