- #1

allo

- 5

- 0

x=1825+91/1217

y=7+2/3

z=1827+2/3

Is there any way to turn x into z only using the first two terms, andor a constant, and the operators ' + ', ' - ', ' * ', ' / '.

I know I can take ((x)-(x mod 10)) + y = z, but this uses a modulus.

... Basically the core of the question is can I change any number's last digit and its decimal value to something I decide by only using the number itself and the desired digit and decimal?

I feel like splitting the numerator and denominator and running independent operations on each might be the way to go.

y=7+2/3

z=1827+2/3

Is there any way to turn x into z only using the first two terms, andor a constant, and the operators ' + ', ' - ', ' * ', ' / '.

I know I can take ((x)-(x mod 10)) + y = z, but this uses a modulus.

... Basically the core of the question is can I change any number's last digit and its decimal value to something I decide by only using the number itself and the desired digit and decimal?

I feel like splitting the numerator and denominator and running independent operations on each might be the way to go.

Last edited: