# My lucky number

I don't know should I ask in Puzzling or not. Sorry for that if I'm wrong! And my question is, I have a lucky number that has four digits which the first three numbers and the last three numbers are perfect square and my lucky number's digits are different. I found the number but I couldn't figure out a mathematical way to solve. Appreciate your help!

• What is the problem? A number as $169324$ is good? Dec 13, 2015 at 11:19
• The answer is not unique. (e.g. 289361 and 289576) If you know some program language, you can find possible answers by brute force. Dec 13, 2015 at 11:19
• @EmilioNovati I forgot to mention it is four digits Dec 13, 2015 at 11:21
• @HanulJeon I know I got help from Python but I wanted to do with a scientific way. And also look at my edit. The number is 4 digits Dec 13, 2015 at 11:22
• So $4981$ is good? You can test other possible solution by brute force. Dec 13, 2015 at 11:22

A possible solution is the number $7841$ since : $784=28^2$ and $841=29^2$.