Well I have another math problem for you guys. No, I'm not trying to get a better grade from you, this isn't for school. Anyways here it is.
Let's say you have a number like 12. Now you reverse the digits of 12, and you get 21. Next you add 21 to 12, and you get 33. Now the percent increase from 12 to 33 is 215. You need to find the lowest number that will gain a 50% increase.
I had an idea to make a long equation that reverses the digits of a number using floors, but the equation would only cover the amount of digits it was made for, and below.
y = (floor(x-(floor(.1(x-(floor(.01(x-(floor(.001(x-(floor(.0001x)))))))))))))+(floor(.1(x-(floor(.01(x-(floor(.001(x-(floor(.0001x)))))))))))+(floor(.01(x-(floor(.001(x-(floor(.0001x))))))))+(floor(.001(x-(floor(.0001x)))))+(floor(.0001x))
I haven't checked it yet, but I think that would reverse a number with up to 4 digits.