Skip to main content
1 of 2
user12806
  • 663
  • 4
  • 14

Square and reversed integer

For all $n=\overline{a_k a_{k-1}\ldots a_1 a_0} := \sum_{i=0}^k a_i 10^i\in \mathbb{N}$, where $a_i \in \{0,...,9\}$ and $a_k \neq 0$,

we define $f(n)=\overline{a_0 a_1 \ldots a_{k-1} a_k}= \sum_{i=0}^k a_{k-i}10^i$.

Is it true that, for all $m=\overline{a_k a_{k-1}\ldots a_1 a_0} \in \mathbb{N}$, we have

$f(m\times m)=f(m)\times f(m) \implies$$\forall i \in \{0, \ldots, k\}, a_i \in \{0,1,2,3\}$ ?

Example: $f(201)\times f(201)=102 \times 102=10404$ $=f(40401)=f(201\times 201)$.

It's true for $m \leq 10^8$.

Thanks in advance.

user12806
  • 663
  • 4
  • 14