From the condition 11∣n, the number n must have at least two digits. Let n=akak−1…a0 where ai, 0≤i≤k are digits and ak=0. From the former discussion we have k≥1.
We will show that all digits in the number n are equal. Namely, from the condition of the exercise, the number n′=akak−1…ai−1aiai−2…a0 (n′ is obtained from n by exchanging the positions of the digits ai−1 and ai) is also divisible by 11. Therefore 11∣n−n′, i.e. 11∣10i−1(aiai−1−ai−1ai) or 11∣10i−1⋅9(ai−ai−1), and hence ai=ai−1.
It follows that n=a⋅11…11k+1. We easily check that 11∣n if and only if k is an odd number.