A problem by Rama DeviComputer Science Level 3
I am thinking of a 6-digit number. The sum of the digits is 43.
And only two of the following three statements about the number are true:
(1) it's a square number,
(2) it's a cube number, and
(3) the number is under 500000.
Find the number.