(In reply to
TRUE! (Spoiler) by Steve Herman)
(Consider my opening comment in light of this as well)
The words needed to be solved are:
3456 6387 9781 and 1212 with seem to mean
THIS STAR BRAG and GOGO in the context.
This table, based upon the above values does not generate a comprehendible title:
0 1 2 3 4 5 6 7 8 9
G O T H I S R A B
3 4 0 2 0 2 N 1 5 0 9 8 7 3
T H . O . O N G I . B A R T
3 4 5 6 6 3 8 7 9 7 8 1 1 2 1 2
T H I S S T A R B R A G G O G O
W1 w2 w3 w4
This table, given by Steve to generate the title would seem flawed
0 1 2 3 4 5 6 7 8 9
I O S T H B S R A G
3 4 0 2 0 2 N 1 5 0 9 8 7 3
T H I S I S N O B I G A R T
brag+star
BRAG + THIS = GOGO
BRAG - THIS = STAR
The solution to these alphametics is
5789 + 3402 = 9191
5789 - 3402 = 2387
In my first comment I mentioned earlier documentation which related to a program, much like that below, and know that I found discrepancies.
This time around I used the letters from the 4 words as parameters in the program.
It yields:
this = 3402, star = 2387, brag = 5789 and gogo = 9191 as being the only values for that equation set.
The essence of this problem then was to firstly deduce the four words.
The more difficult part was then to dismiss the values initial given and reassign new values to the letters so that the equations held.
The program listing:
FOR t = 0 TO 9
IF used(t) = 0 THEN
used(t) = 1
FOR h = 0 TO 9
IF used(h) = 0 THEN
used(h) = 1
FOR i = 0 TO 9
IF used(i) = 0 THEN
used(i) = 1
FOR s = 0 TO 9
IF used(s) = 0 THEN
used(s) = 1
FOR b = 0 TO 9
IF used(b) = 0 THEN
used(b) = 1
FOR r = 0 TO 9
IF used(r) = 0 THEN
used(r) = 1
FOR a = 0 TO 9
IF used(a) = 0 THEN
used(a) = 1
FOR g = 0 TO 9
IF used(g) = 0 THEN
used(g) = 1
FOR o = 0 TO 9
IF used(o) = 0 THEN
used(o) = 1
this = t * 1000 + h * 100 + i * 10 + s
star = s * 1000 + t * 100 + a * 10 + r
brag = 1000 * b + 100 * r + 10 * a + g
gogo = 1000 * g + 100 * o + 10 * g + o
IF gogo = brag + this AND star = brag - this THEN
PRINT "this"; this; "star"; star; "brag"; brag; "gogo"; gogo
END IF
used(o) = 0
END IF
NEXT
used(g) = 0
END IF
NEXT
used(a) = 0
END IF
NEXT
used(r) = 0
END IF
NEXT
used(b) = 0
END IF
NEXT
used(s) = 0
END IF
NEXT
used(i) = 0
END IF
used(h) = 0
END IF
NEXT
used(t) = 0
END IF
NEXT
|
Posted by brianjn
on 2012-11-27 01:36:40 |