• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How do I plot 10x + y = c for integers only? nt

Originally posted by: hypn0tik
Plot how? On a calculator? By hand?

What's TIA?
The fastest way, I guess.

I'm trying to figure out how:

pick a number from 1 to 10
multiply by 2
add 5
multiply by 5
pick another number from 1 to 10
add to previous total

You can find out what the numbers are... but I can't figure it out yet.
 
It is the set of all lines with slope minus 10 passing through point c at x = 0 (on the y-axis). As long as you constrain c to an integer, you have your result. It's an infinitely large set of solutions, though.
 
Originally posted by: esun
It is the set of all lines with slope minus 10 passing through point c at x = 0 (on the y-axis). As long as you constrain c to an integer, you have your result. It's an infinitely large set of solutions, though.
How is it that my friend knew what numbers I picked?
 
Basically there is a 1-to-1 mapping between (x,y) pairs and the result of the operation. A simpler example of the same thing would be to take x and multiply by 1000 and then add y.

example:
x = 4
y = 7

x*1000+y = 4007

So the result is 4007. Now it is pretty obvious that the numbers were 4 and 7 given the result. Your example is just a little bit more complicated to work through.
 
Originally posted by: mfs378
Basically there is a 1-to-1 mapping between (x,y) pairs and the result of the operation. A simpler example of the same thing would be to take x and multiply by 1000 and then add y.

example:
x = 4
y = 7

x*1000+y = 4007

So the result is 4007. Now it is pretty obvious that the numbers were 4 and 7 given the result. Your example is just a little bit more complicated to work through.
oops
 
Back
Top