You are not logged in.
READ+THIS = PAGE
CAN YOU PUT THESE IN NUMBERS PLEASE???????
Thank you!!!:):):):)
Offline
its not that hard, cuz only A and E repeat themselve, so , give random values to A and E and solve for others
Last edited by Dragonshade (2008-11-15 10:57:42)
Offline
But it becomes much trickier if you follow the commonly used rule that different letters must have different numbers.
There are 10 different letters in the equation, so all 10 digits are used.
That's all I have so far.
Why did the vector cross the road?
It wanted to be normal.
Offline
There is no unique solution, if one exists.
Assuming there is a solution, switch the values of D and S.
"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."
Offline
But it becomes much trickier if you follow the commonly used rule that different letters must have different numbers.
There are 10 different letters in the equation, so all 10 digits are used.
That's all I have so far.
Oh yeah, didnt see that
R E A D
T H I S
P A G E
Ok then, since all 10 digits are used
every addition: (k_1,k,k_2 = 0 or 1)
D+S =10k+E
A+I+k =10K_1+G
E+H+K_1= 10k_2 + A
R+T+k_2=P
(like, 6+7=10+3, so the k would be 1 here)
(k,k1,k2)= (0,0,0), (0,1,1,),(1,1,1)....... 2x2x2=8 pairs......
thats all I got so far, wait...
and E appear in PAGE, and READ, so is A
therefore, D+S >10, E+H >10 , then k=1, k_2=1
so
D+S =10+E
A+I+1 =10K_1+G
E+H+K_1= 10 + A
R+T+1=P
I think its much easier from here on
Last edited by Dragonshade (2008-11-15 17:01:08)
Offline
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,
I also found 72 solutions. They're the same as yours, I think, although I only checked about 20 from my list against yours.
, which takes over 15 minutes to run on my slow-as-a-wet-week quad core (and not helped by my inability to program better). M beckons.
Last edited by phrontister (2010-06-21 06:47:11)
"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 phrontister;
Mine takes under 3 minutes. If you want and when you are here, I will post it briefly. I mean I don't want everyone in the world to see this one. Particularly, some people on other forums, who I know lurk here. Yes, it is a 7 solution.
Look here!
http://www.artofproblemsolving.com/Foru … 0&t=334017
Normally I wouldn't listen to anything that lizard has to say. But there we agree.
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,
Yes...I'm very interested to see your code. I'm home for most of today doing end-of-financial-year stuff on my computer, and I'll stay online here and check in from time to time.
My application for Real Member status hasn't gone through yet (maybe it's been rejected? ), otherwise we could just PM. The reason I gave for wanting to become a Real Member obviously wasn't good enough.
I remember posting in another thread here some time ago about a permutations routine in BASIC that I got from LB (and which, as I recall, sparked a rant from you!). Maybe that routine might be worth looking into.
I checked out that AOPS link some time back when you gave it...no one has posted there since.
Last edited by phrontister (2010-06-21 17:21:33)
"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 phrontister;
We may miss each other tonight as I am being bothered over trifles here at home. I have asked MIF to grant you that right. Hopefully, he will agree with me.
I know a good permutation algorithm but if I remember correctly I have never programmed one myself.
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 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
Did you get the code?
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
Ta!
Last edited by phrontister (2010-06-21 21:25:31)
"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
Did you get the code?
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
Did you get the code?
Yes, thanks Bobby...and it runs fine!
Now to try and understand it!!!
Well, not actually "now" (busy). Later.
"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
Congratulations!
Do you know yet?
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
Do you know yet?
Oooooooh!! (blind )
"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 code is is in pieces because it is a work in progress. It has to be changed for each problem but it is a working template. When I am satisfied with it's efficiency I will automate the whole process.
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
Xlnt!
Your code ran in 150 seconds, and the answer printed instantaneously...quite unlike my LB.
"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
Glad it worked. Please keep it between you and I. Let the other forums write their own if they are so smart. I used the same shell to solve another one of atut's problems.
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