Reply Thu 30 Nov, 2006 11:20 am
Can anyone help me solve this question??





You are confronted with the following formula:

A * [(B + C)(D - E) - F(G*H) ] / J = 10

Knowing that each variable is a unique, single-digit, nonzero number, and that C - B = 1, and H - G = 3, what is the number ABCDEFGHJ, where each letter is a digit? For example, if A = 4, B = 2, and C = 7, ABC would equal 427.
 
View Profile fajji
 
  1  
Reply Sat 24 Feb, 2007 01:35 am
A * [(B + C)(D - E) - F(G*H) ] / J = 10

interesting.
this is tough

wait. each letter is a variable to a SINGLE-DIGIT, NON-zero number.. there are 10 letters. Say what?

A=
B=
C=
D=
E=
F=
G=
H=
I=
J=
0 Replies
 
View Profile jonc101
 
  1  
Reply Sat 17 Mar, 2007 12:33 am
Brute Force Solution (non-unique results)
Actually there are only 9 letters. For some reason the formula skips I and goes to J.

In any case, you can build a matrix of possibilities where every letter could be one of nine possible digits. Then just start eliminating possibilities using principles like:

H = G + 3. so H cannot be 1,2, or 3 (because that would make G a zero or negative number) and likewise G cannot be 7,8 or 9

One significant hint is that J is the only divisor. Since the final result (10) is a whole number, J must be evenly divisible into the rest of the formula. If you break it down, this also means J must be evenly divisible into the product of A*F*G*H. Thus, J cannot be 5 or 7 since no product of any other numbers could yield a multiple of 5 or 7 without using 5 or 7 themselves.

You can do other tricks like ensuring that (B+C)(D-E) > FGH to ensure a positive result. Honestly though, at this point in the problem I was getting restless so I decided to be cheap and just whip up a Python script to try all 7! possibilities by brute force (only 7! and not 9! since the C-B=1 and G-H=3 offer a direct dependent relation between 2 variables). This is only about 5,000 possibilties so it actually ran within a few seconds and it turns out there are 3 non-unique solutions:


[A, B, C, D, E, F, G, H, J]

[2, 6, 7, 8, 3, 5, 1, 4, 9]
[2, 6, 7, 9, 5, 3, 1, 4, 8]
[6, 7, 8, 4, 1, 3, 2, 5, 9]
0 Replies
 
View Profile stapel
 
  1  
Reply Sat 21 Apr, 2007 08:53 am
lillypopins wrote:
You are confronted with the following formula:

A * [(B + C)(D - E) - F(G*H) ] / J = 10

Is there any particular reason you didn't post this to the Neopets "Lenny" topic? Did you have some objection to the solution posted there...?

Thank you.

Eliz.
0 Replies
 
 

Related Topics

Alternative Einstein's riddle answer - Discussion by cedor
How many Triangles can you find in this Image? - Discussion by Bibliophile the BibleGuru
Help with a riddle (MNI) - Discussion by youlilmidget
Lenny Conundrum Riddles and Answers - Discussion by nightmonkey
world's hardest riddle? - Discussion by dragooncancer
An Alphabet Riddle - Discussion by riddler
"The World's Hardest Riddle" - Discussion by maxlovesmarie
Frustratingly hard riddles. - Discussion by tpayne1
The worlds first riddle! - Discussion by Tryagain
 
  1. able2know
  2. » Lenny's Conundrum Answer
Copyright © 2009 Horizontal Verticals :: Page generated in 0.34 seconds on 11/08/2009 at 05:34:23 Top End