| New Reply |
Changing Numbers To Prescribed Values Under Special Limitations |
Share Thread |
| Feb9-13, 06:47 AM | #1 |
|
|
Changing Numbers To Prescribed Values Under Special Limitations
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. |
| Feb9-13, 11:48 AM | #2 |
|
Mentor
|
1217x = 2221116
3y = 23 As those do not have a common divisor (apart from 1), you can find integers q,r, such that qx+ry=1. That can be written with a long series of "x+x+x+... -y-y-y-..." (or vice versa), of course, so you do not need q and r. In the same way, you can get 1820. Add y and you are done. |
| New Reply |
| Tags |
| arithmetic |
Similar discussions for: Changing Numbers To Prescribed Values Under Special Limitations
|
||||
| Thread | Forum | Replies | ||
| C#: Changing Values In an Array | Engineering, Comp Sci, & Technology Homework | 20 | ||
| Changing Values on Multimeter | Classical Physics | 6 | ||
| Question on 3 circles with changing values | Differential Geometry | 4 | ||
| Changing values of R in a RLC series circuit | Advanced Physics Homework | 1 | ||
| Limitations on Charge Values? | Introductory Physics Homework | 4 | ||