Let $\displaystyle N = \sum^{2009}_{r=1}\bigg \lfloor \frac{2^r}{5}\bigg \rfloor$, where $\lfloor x\rfloor $ is a floor function of $x$. I want to find the remainder when $2^{2010}$ is divided by $N$.
I have used $\lfloor x \rfloor = x-\{x\}$, where $\{x\}$ represents the fractional part of $x$.
So $$\displaystyle N = \sum^{2009}_{r=1}\bigg \lfloor \frac{2^r}{5}\bigg \rfloor = \sum^{2009}_{r=1}\frac{2^r}{5}-\sum^{2009}_{r=1}\bigg\{\frac{2^r}{5}\bigg\} = \frac{1}{5}\bigg(\frac{2^{2010}-2}{1}\bigg)-\sum^{2009}_{r=1}\bigg\{\frac{2^r}{5}\bigg\}$$
I want be able to go further, could someone help me with this? Thanks.