Showing $64$ divides $5^n-8n^2+4n-1$ without induction

306 Views Asked by At

I want to show that for all positive integer values of $n$, the number $5^n-8n^2+4n-1$ is divisible by $64$. Of course, I can easily do it by induction, but are there any number theoretic ways I can utilise to prove the divisibility?

Thanks in advance for any help.

3

There are 3 best solutions below

2
On BEST ANSWER

It seems to me that the simplest way is to use the binomial expansion $$ \begin{aligned} 5^n&=(4+1)^n=1+\binom n 1 4+\binom n2 4^2+\text{terms divisible by $4^3$}\\ &\equiv 1+4n+8n(n-1)\pmod{64}\\ &=1-4n+8n^2. \end{aligned} $$

6
On

Just try them all. We know $5^{32} \equiv 1 \pmod {64}$ so if you check $[0,63]$ you are done.

2
On

Write $a_n=5^n-8n^2+4n-1 = 5^n+(-8n^2+4n-1)1^n$.

Then $a_n$ satisfies a linear recurrence implied by $(x-5)(x-1)^3$: $$ a_{n+4} = 8a_{n+3}- 18a_{n+2} + 16a_{n+1} - 5a_{n} $$

The particular expression for the recurrence is not important, except that it has integer coefficients.

Bottom line: It suffices to prove that $64$ divides $a_n$ for $n=0,1,2,3$. This is immediate because $a_0=a_1=a_2=0$ and $a_3=64$.