Posted by Joel on October 11, 2002 at 22:09:10:
In Reply to: Good one to keep Joel off the streets... posted by Denis Borris on October 09, 2002 at 16:08:08:
: a+b+c+d+e+f = g+h+i+j+k+l
: a^2+b^2+c^2+d^2+e^2+f^2 = g^2+h^2+i^2+j^2+k^2+l^2
: a^3+b^3+c^3+d^3+e^3+f^3 = g^3+h^3+i^3+j^3+k^3+l^3
: ...repeat for ^4 and ^5
: All 12 numbers are different, greater than 0 and under 25.
: Nice looper for you to program, Joel !
: since 24^12 = 36,520,347,436,056,576 lotsa shortcuts required.
: At 1 second each: 24^12 / 365*24*60*60 = 1,158,052,620 years :)
There's actually two of 'em:
1+6+7+17+18+23 = 2+3+11+13+21+22
2+7+8+18+19+24 = 3+4+12+14+22+23
Takes my pc just under 10 seconds to get the first one, another 14 seconds to the next, and about 38 seconds to finish. Hopefully, I did it right & didn't miss any. What did you get?