What 5-digit number has the following property? If we put numeral 1 in front of the number, we get a number three times smaller, than if we put the numeral 1 behind this number.

Using an easy equation: 3(x+100000) = 10x+1 we find out that the number is 42857.