Find all 6-digit numbersxwith the following property:

If the first digit in x is deleted and added after the 5 other digits, you get a number that is 3 times as large as x.

For instance, the number x=158249 gets turned into 582491.

The number x=158249 does not meet the condition, because 3*158249 ≠ 582491

I hope that someone can help me with this problem - I have no idea how to solve it..