Difference between revisions of "3rd:Solution of Alphametic Puzzles"
Ferenc Nagy (talk | contribs) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[http://users.atw.hu/franknagy/Tipp/Alphametic/index.html The solution alphametic puzzles on my homepage] | [http://users.atw.hu/franknagy/Tipp/Alphametic/index.html The solution alphametic puzzles on my homepage] | ||
[ | [http://www.cadaeic.net/alphas.htm The alphametic puzzles] are the generalizations of the puzzles of type | ||
SEND+MORE=MONEY | SEND+MORE=MONEY | ||
You have to substitute same numbers for the same letters, different numbers for the different letters. | You have to substitute same numbers for the same letters, different numbers for the different letters. | ||
Their special forms are the [ | Their special forms are the [http://www.mathematik.uni-bielefeld.de/~sillke/PUZZLES/ALPHAMETIC/alphametic-mike-keith.html#doub doubly true] puzzles. | ||
A Hungarian example is | |||
---- | |||
TÍZ+TÍZ=HÚSZ | TÍZ+TÍZ=HÚSZ | ||
---- | |||
where the words for added numbers in a certain language form true sentence. | where the words for added numbers in a certain language form true sentence. | ||
TÍZ=ten in Hungarian, HÚSZ=twenty in Hungarian. | TÍZ=ten in Hungarian, HÚSZ=twenty in Hungarian. | ||
TEN=TEN=TWENTY has no solution in English. | TEN=TEN=TWENTY has no solution in English. | ||
---- | |||
NINETEEN + THIRTEEN + THREE + 2*TWO+ 3*ONE = FORTYTWO | |||
---- | |||
is a more complicated English doubly true cryptarithm. | |||
German example: 2*SECHS=ZWOELF. | German example: 2*SECHS=ZWOELF. | ||
'''In order accept Russian puzzles the program accepts Unicode input and writes Unicode output.''' | |||
Prolog version: VIP 7.2 PE. | Prolog version: VIP 7.2 PE. | ||
[http://users.atw.hu/franknagy/Tipp/Alphametic/soap.chm The help file written using VAHELP] | [http://users.atw.hu/franknagy/Tipp/Alphametic/soap.chm The help file written using VAHELP] | ||
[http://software.informer.com/getfree-vahelp-helpmaker/ VAHELP Help Maker] | [http://software.informer.com/getfree-vahelp-helpmaker/ VAHELP Help Maker] | ||
''I intended to follow the human way of the thinking instead of brute force full trial and error of all possible letter-digit matching. The program uses rules of divisibilty and comparision of mininal and maximal values of the left and right sides of the equations.'' | |||
[[Image:Englishdoublytrue.jpg]] | |||
--[[User:Ferenc Nagy|Frank]] 09:38, 5 January 2011 (CET) |
Latest revision as of 10:01, 5 January 2011
The solution alphametic puzzles on my homepage The alphametic puzzles are the generalizations of the puzzles of type
SEND+MORE=MONEY
You have to substitute same numbers for the same letters, different numbers for the different letters. Their special forms are the doubly true puzzles. A Hungarian example is
TÍZ+TÍZ=HÚSZ
where the words for added numbers in a certain language form true sentence. TÍZ=ten in Hungarian, HÚSZ=twenty in Hungarian. TEN=TEN=TWENTY has no solution in English.
NINETEEN + THIRTEEN + THREE + 2*TWO+ 3*ONE = FORTYTWO
is a more complicated English doubly true cryptarithm.
German example: 2*SECHS=ZWOELF.
In order accept Russian puzzles the program accepts Unicode input and writes Unicode output.
Prolog version: VIP 7.2 PE.
The help file written using VAHELP
VAHELP Help Maker
I intended to follow the human way of the thinking instead of brute force full trial and error of all possible letter-digit matching. The program uses rules of divisibilty and comparision of mininal and maximal values of the left and right sides of the equations. --Frank 09:38, 5 January 2011 (CET)