In the Diophantine equation, 5x + 17y = c where c is the smallest value of the equation where x and y are both positive integers and every number larger than c can also be written in the form of 5x + 17y where x and y are positive. How can I find the value of c?
Edit: apologize for not making it clear. This c needs to be the number where any number greater than c can be denoted with 5x + 17y and x, y are positive integers. For example, you cannot denote 51 with x, y both being positive, then c must be a number larger than 51.
17=5k+2, 34=5k+4, 51=5k+1, 68=5k+3, 85=5k+0
90 is the first number of the form of 5k that could be written in a form of $5a+17b$, where $a$ and $b$ are positive integers
So c=86 since all integers larger or equal to 86 you can get by adding a multiple of 5 to one of {17,34,51,68,85}. And 85 can't be written in that form.