This number is a prime.
The largest distinct digit prime that is adjacent to a square (30940^2). [Gaydos]