15 Comments - Last post 1 hour ago by Carenard
3 Comments - Last post 2 hours ago by OMGmyFACE
6 Comments - Last post 2 hours ago by Deleted2137
19 Comments - Last post 3 hours ago by psbox
45 Comments - Last post 9 hours ago by drschnell
2,162 Comments - Last post 10 hours ago by Formidolosus
60 Comments - Last post 11 hours ago by Fitz10024
178 Comments - Last post 9 minutes ago by hiddendoom45
303 Comments - Last post 17 minutes ago by ddapro
1,364 Comments - Last post 28 minutes ago by imaximr
7,744 Comments - Last post 1 hour ago by Oppenh4imer
1,477 Comments - Last post 2 hours ago by Nocturnavoz
369 Comments - Last post 2 hours ago by aez76
3,242 Comments - Last post 3 hours ago by Yamaraus
yeah I'm here \o/
Comment has been collapsed.
damn. That took me way to long. xD
In case you wondered: all the possible combinations of triplets:
http://rextester.com/PFIU21502
Comment has been collapsed.
Nice :) Save your code it may be useful soon.
But I don't think it works right... There shouldn't be 0-s in the last few solutions. And there are some combinations missing (i.e. 13+70+98=181).
Comment has been collapsed.
yeah noticed those flaws too, but was too lazy to iron those out since i found some valid solutions xD
but (13+70+98=181) is included, since 13+98+70=181 (2nd row) uses this combination already. (https://en.wikipedia.org/wiki/Commutative_property)
Comment has been collapsed.
made your code better, so that the solution is there immediately (btw first time using pascal)
Code
Comment has been collapsed.
nice one! looks way better than my clumsy try :) (not that good at programming^^)
Comment has been collapsed.
coding is the way :)
Comment has been collapsed.
(13, 146, 224), (98, 101, 184), (70, 90, 223) 383 each is another solution.
Mean value theorem saves more than half time.
Comment has been collapsed.
But the sum is having two of the same digit (3).
Comment has been collapsed.
I thought what you mean the same digit is
For i =/= j, a_i =/= a_j s.t. a_1+a_2+a_3 = a_4+a_5+a_6 = a_7+a_8+a_9
Nevertheless, I solved it too. :)
Comment has been collapsed.
Thank you for the gift. Looks like more math puzzles await me.
Comment has been collapsed.