EDIT: Added some clarifications. EDIT 2: More clarifications and 1 more example.
Here's the basis of the problem:
I have 2 numbers, (they are integers that can be separated by 0.5 or 1, i.e. 1; 1.5; 2; 2.5; ...) let's say as an example these numbers are 22.5 and 10.
Now you must turn the bigger number ($22.5$ in this case) to the smaller number ($10$ in this case) by:
-Using only the integers $2$ and $3$, and multiplying/dividing with them;
-Add/subtract only using these resulting numbers from dividing/multiplying.
-You cannot multiply any number to be higher than the starting higher one (in this case $>22.5$).
-You cannot go into the negatives at any step.
-Maximum of 5 divisions/multiplications, subtractions/additions with the numbers gotten from divisions/multiplications don't count as steps in this problem.
-You can only divide/multiply the starting numbers and numbers originated from multiplication/division, not subtraction/addition.
Here's an example of a solution of the problem above to better illustrate what I'm talking about:
$22.5 >>> 10$
$22.5/3=7.5$
$7.5/3=2.5$
$2.5+7.5=10$
Problem solved.
My issue currently is to find out if it is possible to do this with $30$ to $24$, $(30-24=6$) or $22.5$ to $12$, and if it is what was the methodology or function or procedure used to solve this sort of problem is.
Unsolved example:
45.5 >>> 25
45.5/3=15.1666...
45.5/2=22.75
22.75/2=11.375
Is there anyway that this can happen in 5 or less divisions/multiplications...?




View your numbers as rationals and think about prime factorization, allowing the exponents to go negative. You would express $22.5$ as $2^{-1}3^25^2$ for example. Note that any factor other than $2$ or $3$ in the initial number will be there in all the subsequent numbers. You can handle $5$s by adding $0$s, as $10.0$ is $2^25^22^{-1}5^{-1}$, but if you had a $7$ you could never get rid of it.