× A F B G C H D E I
Given that A , B , C , D , E , F , G , H , I are distinct non-zero digits, find A + E + H + I .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Can't we do this problem without programming? 😅
Note, you can enter code directly using the backtick tags, i.e. open with
```cpp
and close with
```
.
A computer program will give 4 × 1 7 3 8 = 6 9 5 2 4 × 1 9 6 3 = 7 8 5 2 as the only solutions. Note that in either of these solutions, A + E + H + I = 1 2 so we are done.
Mathematical solution plzz..
That isn't a mathematical solution. Please post a solution that uses mathematics to derive the solution.
I'm disappointed in these "Solutions" ... I thought you guys were supposed to be geniuses
Log in to reply
Look at the other posts for actual solutions. This was really meant to only be a placeholder.
Also, please do not comment with a demeaning tone, it is disrespectful.
I do it by hand and I find also 3 4 5 8 × 2 = 7 9 1 6 , and it gives the same answer. Can you give me more detail about your computer program, please?
Log in to reply
3458*2=6916 hence solution looks incorrect
Log in to reply
Yes, you are right! In fact, I worked on 3 5 4 8 × 2 = 7 0 9 6 , and this give me the answer 2 0 which is not accepted. So, I switch 4 and 5 and forget to update the last digit in the result. By chance, I get the correct answer!
F G H I are distinct ....in your case F and I are same i.e. equal to 1
I have to use Excel a lot at work, so I like to do my CS solutions in Excel when I can to practice my VBA. This was my solution:
I know, not the most elegant :p
Log in to reply
What is the easiest way to construct a permutation in excel? This would avoid you having to do the check if "if a = b or ....".
1 2 3 4 5 |
|
1 2 |
|
Problem Loading...
Note Loading...
Set Loading...
Using R, is not the optimal but apparently it works.