Number exchange  math puzzle
A number has 6 different digits. If the last digit is moved to the front, then a new number is formed which is exaclty 5 times the old number. With which number did we start?
Answer
142857
