Find all integers n, 0<=n<163, such that n is its own inverse modulo 163
The integers that work are 1, 5, 10, 17, 22, 25, 38, 40, 47, 55, 82, 91, 97, 105, 122, 145, 156, and 160.