N=2 when (a,b) = (4,3)
If there is an analytic way to show N=1 is impossible, then this would be a full solution.
----
bestN = 100000
bestA = 0
bestB = 0
big = 2000
for a in range(1,big):
for b in range(1,big):
N = 3*a**2 - a*b**2 - 2*b - 4
if N < 1:
continue
if N < bestN:
bestN = N
bestA = a
bestB = b
print(bestN, bestA,bestB)
|
Posted by Larry
on 2024-06-18 11:18:27 |