Good morning Stack Exchange,
I have encountered a problem that I have no idea how to solve. This is what the question asks:
Determine how many integers $2000 \leq n \leq 2010$ are such that $7$ divides $\lfloor\frac{\sqrt{2}}{4}(1+\sqrt{2})^n\rfloor$.
I truely have no idea where to even start. I have looked online for a bit, and I have found similar problems which are solved by reducing the problem to one about linear recurrences. There is also a "trick" I have tried to apply which exploits the fact that $\sqrt{2}-1<1$, but it has all been in vain. The factor of $\frac{\sqrt{2}}{4}$ thwarts all of my attempts. The only "answer" I can come up with is that the congruences modulo $7$ are probably in a cycle of period $7$, so the numbers satisfying the answer are about $1$ in $7$ i.e. $2$. Can anybody help me? A solution would be great, but even hints will be gladly received.
You mentioned the right applicable tools.