Let be square with 4 digits, such that all its digits are less than 6. If we add 1 to each digit the resulting number is another square. Find
Solution
Let be a number with four digits such that all digits are less than 6. We have where is an integer. We need a transformation that, if we add 1 to each digit of , the result should be another perfect square.
Let's denote the transformed number as . If the original number is represented in the form , then the transformed number will be .
Since the new number must be a perfect square, we set:
for some integer .
This means:
We are searching for integers and such that the above equation holds.
Given that is a 4-digit number and each digit is less than 6, the 4-digit square can range from to . Thus, the possible values for are those integers such that because:
For each integer within this range, check if:
which can be rewritten as:
This is equivalent to:
Since , the possible pair of factors are , .
Trying factor pair :
Solving these equations:
Thus, we have . Now calculate :
Check the transformation:
- Add to each digit of to get .
- Verify:
Thus, the number that satisfies the condition is: