I haven't tried to actually write script for this, but it occurs to me that you could first find all the sets of numbers whose last digits add up to a multiple of 10 (or whose last 2 digits add up to a multiple of 100, etc), then iterate through a much smaller group of sets to test for their total sum.
-- Peter Peter M. Brigham [email protected] http://home.comcast.net/~pmbrig On Aug 25, 2014, at 2:54 PM, Michael Doub wrote: > Well, I have been trying to come up with a logical approach since I posted > the puzzle and I still don’t have a solution. You all may not have a logic > based approach, but at least you got a solution. Right now the straight > forward approach with some randomness thrown in looks pretty good to me! > > -= Mike > > > On Aug 25, 2014, at 5:41 AM, Terry Judd <[email protected]> wrote: > >> Ditto for me, and mine was messier than Scott¹s as well. Still it kept me >> occupied while I was eating my lunch :) >> >> Terry... >> >> On 25/08/2014 5:27 pm, "Scott Rossi" <[email protected]> wrote: >> >>> I imagine my approach would be faster if it followed ANY logic. :-) >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> On 8/24/14 11:38 PM, "Kay C Lan" <[email protected]> wrote: >>> >>>> I imagine Terry & Scott, your approach would on average be faster if >>>> you followed the same logic. _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
