i've been at this forever but still can't get this... can anyone help me? Here's the problem:

"I'm 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."