I am unfamiliar with modular arithmetic. I am attempting to solve this problem as practice for mathleague competitions.
In an attempt to solve this problem, I first attempted to define what the remainder is by the following expression: $$2^{2015} - 36\left\lfloor{\frac{2^{2015}}{36}}\right\rfloor$$ Which can be simplified to... $$2^{2015} - 36\left\lfloor{\frac{2^{2013}}{9}}\right\rfloor$$ After that though, I didn't know what I should do. I thought about rewriting the original expression all in terms of $2^x$ like so... $$\frac{2^{2015}}{2^5+2^2}$$ Yet that still wasn't helpful.
This morning, I finally realized that $2^{k+dx}\mod36$, where $k$ and $d$ are constants, has a pattern that must repeat itself at some point since the result of the operation must be an integer greater than 0 and less than 36 (it has a finite set of possible results).
I know that 2015 is divisible by 5. And using a calculator I found out that... $$2^5\mod{36} = 2^{35}\mod{36}$ = 32$$ To test if I had found a solution, I verified that there was an integer solution to the following equation (plugging values in for $k$ and $d$ above): $$5 + 30x = 2015$$ And found that $x=67$, so therefore the remainder of $\dfrac{2^{2015}}{36}$ must be $32$.
Is there a faster and/or better approach to this particular problem or problems like these?