I am a high-school math student. I found a pattern a while ago - given n, an odd positive integer, and r, any positive integer power of two, n^r modulo 2r always equals 1. I was trying to find a proof of this, but I could not find anything. I am asking whether there is any way to get any progress on this problem, or a theorem that states this.
Edit - The problem is solved using Euler's theorem or via an induction argument.