Inspired from the question Is there any perfect square in the sequence $12,123,1234,12345,...$?, there is no perfect square other than $1$ in the sequence of Smarandache numbers. But I wonder if are there any perfect powers other than $1$ in the sequence of Smarandache numbers?
Using Pari GP, I checked up to the 20th term of Smarandache numbers to see if are there any perfect powers in the sequence, but I wasn't succesful.
Are there any perfect powers other than $1$ in the sequence of Smarandache numbers?
$$a_n = a_{n-1}\cdot 10^{\lfloor log_{10}(10n) \rfloor} + n$$
Suppose $a_{n-1} = k^2$.
$$ \begin{align} a_n &= k^2\cdot 10^{\lfloor log_{10}(10n) \rfloor} + n \ a_n - n &\equiv k^2 \pmod{9} \end{align} $$
We have
$$(a_n - n \pmod{9})+1 = \text{dr}_{10}(a_n - n)$$
where $\text{dr}_{b}(x)$ is the Digital Root of $x$ in base $b$.
The squares modulo $9$ are $0, 1, 4, 7$. Therefore, the digital root of $a_n - n$ must be one of $1, 2, 5, 8$ for $a_{n-1} = k^2$.
– vvg Aug 17 '23 at 05:50