A338256 Generalized Markoff numbers: union of numbers a, b, c, d, e satisfying the Markoff(5) equation a^2 + b^2 + c^2 + d^2 + e^2 = a*b*c*d*e.
1, 3, 4, 5, 9, 12, 23, 31, 33, 35, 44, 57, 60, 81, 107, 123, 157, 179, 204, 212, 273, 293, 311, 369, 391, 411, 417, 459, 555, 620, 657, 679, 1076, 1115, 1187, 1259, 1275, 1308, 1377, 1453, 1713, 1813, 1979, 2508, 2604, 2673, 2764, 2817, 2885, 3419, 3475, 3804, 3849
Offset: 1
Keywords
Examples
{1259,35,4,3,3} is a solution and that is why 3,4,35,1259 belong to the sequence.
Programs
-
Mathematica
div={1,3};limit=10^4;Monitor[Do[m=div[[{a,b,c,d}]];m1=Times@@m;m2=Tr[m^2];s=Sqrt[m1^2-4m2];x1=(m1-s)/2;x2=(m1+s)/2;If[IntegerQ[x1]&&x2
Comments