Guest Posted October 29, 2009 Report Share Posted October 29, 2009 solve: GET*IT=RIGHT where each letter stands for a different number. R=3 Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 29, 2009 Report Share Posted October 29, 2009 T = 5 Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 29, 2009 Report Share Posted October 29, 2009 T = 5 possibly.. could also be 1 though Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 29, 2009 Report Share Posted October 29, 2009 possibly.. could also be 1 though T could also = 6... Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 29, 2009 Report Share Posted October 29, 2009 T could also = 6... woww i really never though of that.. well, another hint: T doesnt = 6 Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 29, 2009 Report Share Posted October 29, 2009 All variables are equal to 1. Thus (1)(1)(1)*(1)(1)=(1)(1)(1)(1)(1) = 1*1=1 Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 30, 2009 Report Share Posted October 30, 2009 (edited) solve: GET*IT=RIGHT where each letter stands for a different number. R=3 All variables are equal to 1. Thus (1)(1)(1)*(1)(1)=(1)(1)(1)(1)(1) = 1*1=1 Wrong... all numbers have to be different nope the answer as i see it is far more complex GET*IT=RIGHT where i say G=x1 E=x2 T=x3 I=x4 h=x5 that gives us the formula (100*x1+10*x2+x3)*(10*x4+x3) = 30000+1000*x3+100*x1+10*x5+x3 which will have to be solved manually where there is 10*9*8*7*6 times answers however only a few of them is correct i then use mapple or any other program code to find the answer for x1 from 0 to 9 do for x2 from 0 to 9 do for x2 from 0 to 9 do for x3 from 0 to 9 do for x4 from 0 to 9 do for x5 from 0 to 9 do if (100*x1+10*x2+x3)*(10*x4+x3) = 30000+1000*x3+100*x1+10*x5+x3 then print(x1,x2,x3,x4,x5) end if end do end do end do end do end do end do; which gives x1=6, x2=2,x3=1,x4=5,x5=7 or x1=7, x2=9,x3=5,x4=4,x5=7 however as it said in the text the numbers have to be different so the answer is 621*51=31671 Ps. my very first post , just couldn't resist to find an answer for it Edited October 30, 2009 by jan Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 30, 2009 Report Share Posted October 30, 2009 the code is for x1 from 0 to 9 do for x2 from 0 to 9 do for x3 from 0 to 9 do for x4 from 0 to 9 do for x5 from 0 to 9 do if (100*x1+10*x2+x3)*(10*x4+x3) = 30000+1000*x3+100*x1+10*x5+x3 then print(x1,x2,x3,x4,x5) end if end do end do end do end do end do; Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 30, 2009 Report Share Posted October 30, 2009 Wrong... all numbers have to be different nope the answer as i see it is far more complex GET*IT=RIGHT where i say G=x1 E=x2 T=x3 I=x4 h=x5 that gives us the formula (100*x1+10*x2+x3)*(10*x4+x3) = 30000+1000*x3+100*x1+10*x5+x3 which will have to be solved manually where there is 10*9*8*7*6 times answers however only a few of them is correct i then use mapple or any other program code to find the answer for x1 from 0 to 9 do for x2 from 0 to 9 do for x2 from 0 to 9 do for x3 from 0 to 9 do for x4 from 0 to 9 do for x5 from 0 to 9 do if (100*x1+10*x2+x3)*(10*x4+x3) = 30000+1000*x3+100*x1+10*x5+x3 then print(x1,x2,x3,x4,x5) end if end do end do end do end do end do end do; which gives x1=6, x2=2,x3=1,x4=5,x5=7 or x1=7, x2=9,x3=5,x4=4,x5=7 however as it said in the text the numbers have to be different so the answer is 621*51=31671 Ps. my very first post , just couldn't resist to find an answer for it In your solution RIGHT=31671, so I=T=1 which is prohibited by the condition. Wrong answer. Nice first post. There is just a couple of posts and the problem can be solve without hints. Why do you give so many? 851*41=34891 Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 30, 2009 Report Share Posted October 30, 2009 I count 5 answers. But I brute forced it.. 20:22:57 0:1065 wede@v-ger:~ $>./puzzle.sh 306 * 96 = 29376 : G=3 E=0 T=6 I=9 R=2 H=7 415 * 95 = 39425 : G=4 E=1 T=5 I=9 R=3 H=2 516 * 96 = 49536 : G=5 E=1 T=6 I=9 R=4 H=3 635 * 75 = 47625 : G=6 E=3 T=5 I=7 R=4 H=2 851 * 41 = 34891 : G=8 E=5 T=1 I=4 R=3 H=9 DONE #!/bin/bash G=1 E=0 I=1 R=1 H=0 T=0 while true ; do one="$G$E$T" two="$I$T" three="$R$I$G$H$T" if [[ $(( $one * $two )) -eq $three ]] ; then differents=$( foo=`printf "$G\n$E\n$I\n$R\n$H\n$T\n" | sort -u | wc -l`; echo $foo ) if [[ "$differents" == "6" ]] ; then echo "$one * $two = $three : G=$G E=$E T=$T I=$I R=$R H=$H" fi fi (( T++ )) if [[ $T -eq 10 ]] ; then T=0; (( H++ )) if [[ $H -eq 10 ]] ; then H=0; (( R++ )) if [[ $R -eq 10 ]] ; then R=1; (( I++ )) if [[ $I -eq 10 ]] ; then I=1; (( E++ )) if [[ $E -eq 10 ]] ; then E=0; (( G++ )) if [[ $G -eq 10 ]] ; then echo "DONE"; exit 0 fi fi fi fi fi fi done Quote Link to comment Share on other sites More sharing options...
0 Guest Posted October 30, 2009 Report Share Posted October 30, 2009 In your solution RIGHT=31671, so I=T=1 which is prohibited by the condition. Wrong answer. Nice first post. There is just a couple of posts and the problem can be solve without hints. Why do you give so many? 851*41=34891 >< was a typo Wrote (100*x1+10*x2+x3)*(10*x4+x3) = 30000+1000*x3+100*x1+10*x5+x3 was supposed to be (100*x1+10*x2+x3)*(10*x4+x3) = 30000+1000*x4+100*x1+10*x5+x3 which gives the 5 correct answers as the guy above me say Quote Link to comment Share on other sites More sharing options...
Question
Guest
solve:
GET*IT=RIGHT where each letter stands for a different number.
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.