IMC 2015 · Problem 2
Statement
For a positive integer , let be the number obtained by writing in binary and replacing every with and vice versa. For example, is in binary, so is in binary, therefore . Prove that
When does equality hold?
Official solution
Proposed by Stephan Wagner, Stellenbosch University.