A classic NT but it can be generalised
Source: Greece National Olympiad 2023, Problem 2
February 19, 2023
number theory
Problem Statement
Find all positive integers that are perfect squares and their decimal representation consists of digits equal to 2 and one digit equal to 5, where takes positive integer values.