1. ## Not eventually constant!

Let $f: \mathbb{N}: \longrightarrow \{1,-1 \}$ be a function such that $f(p)=-1,$ for all prime numbers $p,$ and $f(mn)=f(m)f(n), \ \forall m, n \in \mathbb{N}.$

Prove that for every $k \in \mathbb{N}$ there exist $m, n \geq k$ such that $f(n^2-2)=1$ and $f(m^2 - 2)=-1.$

Remark: This problem is an easy case of a long standing conjecture in number theory: if $g(x) \in \mathbb{Z}[x]$ and $f(g(n))$ is "eventually constant", then $g(x)$ is a perfect square.

2. We have the identity

$(n^2-2)\left((n+1)^2-2\right)=\left((n^2+n-2)^2-2\right)$

which shows that it's impossible for the sequence $f(n^2-2)$ to be eventually constantly equal to -1. If it is eventually constantly equal to 1, let $s$ be the greatest integer such that $f(s^2-2)=-1$. Then by hypothesis $f((s+1)^2-2)=1$ and then $-1 = f(s^2-2)f((s+1)^2-2)=f\left((s^2+s-2)^2-2\right)$, contradicting the choice of $s$.

On a side note, I believe $f(n)$ is called Liouville's function.

You always have nice problems, NonCommLion. Where do you get them from?

3. Originally Posted by Bruno J.
We have the identity

$(n^2-2)\left((n+1)^2-2\right)=(n^2+n-2)^2-2$

which shows that it's impossible for the sequence $f(n^2-2)$ to be eventually constantly equal to -1. If it is eventually constantly equal to 1, let $s$ be the greatest integer such that $f(s^2-2)=-1$. Then by hypothesis $f((s+1)^2-2)=1$ and then $-1 = f(s^2-2)f((s+1)^2-2)=f\left((s^2+s-2)^2-2\right)$, contradicting the choice of $s$.
nice! just note that before choosing the greatest integer $s$ with $f(s^2-2)=-1$ you should mention that basically the set $A=\{n: \ f(n^2-2)=-1 \}$ is non-empty.

this, of course, is trivial in our case because $2 \in A,$ but it becomes absolutely non-trivial if we replace $-2$ with an arbitrary non-zero integer $k.$

finally the identity you used can be extended. in general we have: $(n^2+k)((n+1)^2+k)=(n^2+n+k)^2+k.$

You always have nice problems, NonCommLion.
thanks! i like my new user name: NCL! it could also stand for Normal CLosure!

Where do you get them from?
here and there!

4. Originally Posted by NonCommAlg

thanks! i like my new user name: NCL! it could also stand for Normal CLosure!

here and there!
Well in any case keep them coming! I can't do most of them but they are fun.