ROSECODE 185
Dividing sextuplets
There is an obvious generalization of p183 from Philippe. Find all 1 < a < b < c < d < e < f (integer) sextuplets for that
(a-1)*(b-1)*(c-1)*(d-1)*(e-1)*(f-1) divides a*b*c*d*e*f-1. You can easily check that this is a valid sextuplet:
[3, 5, 17, 257, 65555, 226112997].
Answer format: cnt,s
where cnt is the number of solutions and s is the sum of a+b+c+d+e+f values over all solutions.
My timing: <1 sec.
(a-1)*(b-1)*(c-1)*(d-1)*(e-1)*(f-1) divides a*b*c*d*e*f-1. You can easily check that this is a valid sextuplet:
[3, 5, 17, 257, 65555, 226112997].
Answer format: cnt,s
where cnt is the number of solutions and s is the sum of a+b+c+d+e+f values over all solutions.
My timing: <1 sec.