Questions tagged [diophantine]

48 questions
0
votes
3 answers

Generating Values For Diophantine Equations in Java?

I have a program to code where it will solve a 5-1 fifth order Diophantine equation which is basically A^5 + B^5 + C^5 + D^5 + E^5 = F^5, where 0 < A <= B <= C <= D <= E <= F <= N. The way I am going to be implementing it is precomputing the values…
azdiiv
  • 383
  • 5
  • 17
-1
votes
1 answer

How to determine reachable states in 3 water jug problem?

Consider 3 water jugs 1,2,3 with capacities 12,8,5 respectively. The total water held by the 3 jugs should be 12 units. We can either empty jug x into jug y (xEy) or fill up jug y from jug x (xFy). With these considerations in mind, given a start…
-1
votes
2 answers

Best way to solve a first degree equation with multiple variables

I would like to solve a first degree equation with multiple variables (not a system of equations) like : 10x + 5y + 7z = 630 Is there any way to solve it without using bruteforce? Solutions must be integers.
kore
  • 9
1 2 3
4