You are not logged in.
Maybe I should have replied from The Land of Tomorrow before you posted your answer...
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
That reminds me of a movie called, The Land That Time Forgot.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Haven't seen that one. I doubt that I'd like it, though, as I don't really go for war movies or monster movies. Anyway, we're ahead of the rest, time-wise, so...
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
I never saw it either or maybe I did and forgot.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
With rasher's code:
IT+TAKES+A+LITTLE=EFFORT solves nearly instantaneously;
FIVE - TWO + THREE - NINE = 5239 (from my post #403 in the 'Add 13 more and post it forever' thread) takes just over 5 seconds.
So, thanks for the code. I like rasher's output display, the helpful remarks and some other stuff that I can understand...which is not all of it, that's for sure.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
Hi;
How did you get it to do "IT+TAKES+A+LITTLE=EFFORT?"
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
CAN WE DO M? Please? Pretty Please?
His dominion is an everlasting dominion, Which shall not pass away, And His kingdom the one Which shall not be destroyed.
Offline
What thread were we in?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Teach Chris
His dominion is an everlasting dominion, Which shall not pass away, And His kingdom the one Which shall not be destroyed.
Offline
Okay, then go there.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi Bobby,
How did you get it to do "IT+TAKES+A+LITTLE=EFFORT?"
That puzzle has two more terms than the template, so I included two extra terms in the three places where the group of terms appear. Also, I altered the contents of ClearAll, vars, conditions, the four terms, and sum to suit.
Then I pressed Shift+Enter. Maybe you left out that last step.
Last edited by phrontister (2014-12-13 12:26:43)
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
I did not think about modifying his.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Oh, I mistook you.
Here's my code...
s1 = Permutations[{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, {10}];
Select[s1, (10 #[[1]] + #[[2]]) + (10000 #[[2]] + 1000 #[[3]] +
100 #[[4]] + 10 #[[5]] + #[[6]]) + (#[[3]]) + (100000 #[[7]] +
10000 #[[1]] + 1000 #[[2]] + 100 #[[2]] + 10 #[[7]] + #[[5]])
== (100000 #[[5]] + 10000 #[[8]] + 1000 #[[8]] + 100 #[[9]] +
10 #[[10]] + #[[2]]) &]
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
Hi;
That looks to be the simplest idea.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Yes, and that's the way I do most of them. From now on I'll also try rasher's code...but his may be tricky to adapt for puzzles that don't fit his mold.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
His way has some advantages, that output looks nice.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Yes, I like that output too.
Ease of obtaining nice output is one of the reasons I still use Excel for some things (although that number is shrinking now that I'm using M). I've used Excel for so long that most outputs I want aren't hard for me to do on their page layout, whereas achieving similar outputs in M would entail a steep learning curve + frequent use.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
(although that number is shrinking now that I'm using M)
But will Excel ever become unnecessary?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Not for me...I just never could bring myself to killing a pet. I'd perpetuate their existence with replacements ('upgrades', one might say), which, while they may not have the initial appeal of the first young pup, nevertheless would always be there for me in some way.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
I do remember a vid where there was the most amazing canine in it. The man would put a piece of cheese squarely between the dog's eyes. The dog would balance it there for a bit and then with a quick jerk of its head invoke the law of inertia and gulp it down.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
That was the hideous mutt who pinched the trick off my wonderful Tulip! Tu and I should have copyrighted it before that beast had the chance to perform its revolting demolition act!
...and gulp it down.
And Grosso didn't gulp it down...it gulped it up! Grosso was such a clumsy oaf that it missed the catch completely and with its slobbering mouth knocked the cheese to the ground, from whence it gobbled it up.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
Grosso?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
"the law of inertia"? Or the law of gravity?
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
That dog is oh-so-gross...so = Grosso.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
I would say Inertia.
So you are saying that Tulip and you are much better than that pair.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline