Math Puzzle

Freshgeardude

Diamond Member
Jul 31, 2006
4,506
0
76
WRONG
+ WRONG
-------------
RIGHT

each letter is a digit 0-9 and 2 letters can not be the same number. R and O for instance can not both be 3.

the most i can think is G can be 5 and T being 0, but i got stuck there.
 

vjyper

Member
Sep 8, 2007
30
0
0
W=2, R=5, O=1, N=7, G=3
R=5, I=0, G=3, H=4, T=6
25173
+25173
---------
50346

Math needs to be double checked of course.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
W < 5
since 2*W + carry < 10

You can place similar arguments for R, O, and N
 

Freshgeardude

Diamond Member
Jul 31, 2006
4,506
0
76
Originally posted by: vjyper
W=2, R=5, O=1, N=7, G=3
R=5, I=0, G=3, H=4, T=6
25173
+25173
---------
50346

Math needs to be double checked of course.

that works :) ! you rock
 

vjyper

Member
Sep 8, 2007
30
0
0
Louis Sachar, author of Sideways Stories From Wayside School wrote two books Sideways Arithmetic From Wayside School and More Sideways Arithmetic From Wayside School that have a lot of math puzzles like that one.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
Originally posted by: vjyper
W=2, R=5, O=1, N=7, G=3
R=5, I=0, G=3, H=4, T=6
25173
+25173
---------
50346

Math needs to be double checked of course.

Who you explain how you came to that conclusion?
 

vjyper

Member
Sep 8, 2007
30
0
0
Originally posted by: Leros
W < 5
since 2*W + carry < 10

You can place similar arguments for R, O, and N

Like you wrote, W has to be less than 5.

Then I just busted out the pencil and paper and worked through it. There might be other solutions but I haven't been able to find them if they exist.

I'm trying to work out a good solution but it's taking some time.
 

vjyper

Member
Sep 8, 2007
30
0
0
Nobody cares but I thought I'd put it up anyway.

We need to solve for the variables in the equation:
2 (10000W +1000R + (100)O +10N +G) = 10000R +1000I + 100G +10H + T
with the conditions that W<5, each letter is a digit 0-9 and 2 letters can not be the same number. As a side note, O makes a crappy variable.

I used a spreadsheet to check all of the values from 0 to 49999 and found 41 solutions for the value of WRONG which can be used to calculate RIGHT. Not quite the 42 solutions that OdiN suggested but pretty close.

12438, 12469, 12479, 12673, 12693, 12734, 12867, 12938, 24153, 24173, 24653, 24673, 24765, 24908, 24918, 24938, 25173, 25193, 25418, 25438, 25469, 25479, 25673, ,25693, 25734, 25867, 25938, 37081, 37091, 37285, 37408, 37428, 37459, 37581, 37591, 37806, 37846, 37908, 49153, 49265, 49306

Corrections are appreciated.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
Originally posted by: vjyper
Nobody cares but I thought I'd put it up anyway.

We need to solve for the variables in the equation:
2 (10000W +1000R + (100)O +10N +G) = 10000R +1000I + 100G +10H + T
with the conditions that W<5, each letter is a digit 0-9 and 2 letters can not be the same number. As a side note, O makes a crappy variable.

I used a spreadsheet to check all of the values from 0 to 49999 and found 41 solutions for the value of WRONG which can be used to calculate RIGHT. Not quite the 42 solutions that OdiN suggested but pretty close.

12438, 12469, 12479, 12673, 12693, 12734, 12867, 12938, 24153, 24173, 24653, 24673, 24765, 24908, 24918, 24938, 25173, 25193, 25418, 25438, 25469, 25479, 25673, ,25693, 25734, 25867, 25938, 37081, 37091, 37285, 37408, 37428, 37459, 37581, 37591, 37806, 37846, 37908, 49153, 49265, 49306

Corrections are appreciated.

Cool :thumbsup: