Skip to main content

Timeline for Integer points on a line segment

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Aug 27 at 10:47 vote accept yarchik
Aug 27 at 10:25 answer added Domen timeline score: 3
Aug 27 at 10:15 history edited yarchik CC BY-SA 4.0
Distinction from a related post is explained.
Aug 27 at 10:03 comment added Domen Obviously the conditions were x > 0 && y > 0 since the OP wanted to find coordinates (which) are positive integer. You don't have this condition, so you have to restrict the coordinates to your bounds.
Aug 27 at 9:57 comment added Domen What do you mean by modifying the solutions? I posted a screenshot of the result as given by Mathematica (14.1).
Aug 27 at 9:46 comment added Domen I don't see where the problem is ... FindInstance, Reduce and Solve all work as expected: Solve[2*x - 45 == y && x >= b[[1]] && x <= a[[1]], {x, y}, Integers].
Aug 27 at 9:32 history asked yarchik CC BY-SA 4.0