All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Melting the ice (Posted on 2011-09-01)
```        let
*ice
melt
edit
euro
easily  ```
In the above sentence the letter "E" represents a certain digit.
Other letters replace other digits, distinct from the digit assigned to E, but not as one-to-one function.

1. Find a solution (not necessarily mine).

Bonus
2. Devise a sentence that is more sensible or relevant for the above multiplication sample, but retains the value held by the letter "E"{or a corresponding letter in your solution} in same positions as in my original text.

 No Solution Yet Submitted by Ady TZIDON Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 all solutons (computer) | Comment 2 of 12 |

E can be 3, 2 or 6. However, all the solutions in which E is 2 involve the words EDIT and EURO to be represented by the same 4-digit number--not specifically forbidden, but somewhat against the spirit of the puzzle.

`    434     893    1302   3906 3472 387562 `
`    435     783    1305   3480 3045 340605 `
`    435     793    1305   3915 3045 344955 `
`    435     873    1305   3045 3480 379755 `
`    435     883    1305   3480 3480 384105 `
`    435     893    1305   3915 3480 388455 `
`    436     793    1308   3924 3052 345748 `
`    436     873    1308   3052 3488 380628 `
`    436     883    1308   3488 3488 384988 `
`    437     783    1311   3496 3059 342171 `
`    437     873    1311   3059 3496 381501 `
`    437     883    1311   3496 3496 385871 `
`    438     783    1314   3504 3066 342954 `
`    438     883    1314   3504 3504 386754 `
`    439     893    1317   3951 3512 392027 `
`    620     442    1240   2480 2480 274040 `
`    624     442    1248   2496 2496 275808 `
`    627     442    1254   2508 2508 277134 `
`    629     442    1258   2516 2516 278018 `
`    768     886    4608   6144 6144 680448 `
`    768     896    4608   6912 6144 688128 `
`    769     886    4614   6152 6152 681334 `
`    769     896    4614   6921 6152 689024 `

CLS
OPEN "meltice2.txt" FOR OUTPUT AS #2
FOR numLet = 100 TO 999
e = (numLet \ 10) MOD 10
es\$ = LTRIM\$(STR\$(e))
FOR ice = 100 TO 999
IF ice MOD 10 = e THEN
melt = numLet * e
melt\$ = LTRIM\$(STR\$(melt))
ix = INSTR(melt\$, es\$)
IF ix = 2 AND LEN(melt\$) = 4 THEN
IF INSTR(MID\$(melt\$, 3), es\$) = 0 THEN
c = (ice \ 10) MOD 10
edit\$ = LTRIM\$(STR\$(numLet * c))
IF LEFT\$(edit\$, 1) = es\$ AND LEN(edit\$) = 4 THEN
IF INSTR(MID\$(edit\$, 2), es\$) = 0 THEN
i = (ice \ 100)
euro\$ = LTRIM\$(STR\$(numLet * i))
IF LEFT\$(euro\$, 1) = es\$ AND LEN(euro\$) = 4 THEN
IF INSTR(MID\$(euro\$, 2), es\$) = 0 THEN
easily\$ = LTRIM\$(STR\$(numLet * ice))
IF LEFT\$(easily\$, 1) = es\$ THEN
IF INSTR(MID\$(easily\$, 2), es\$) = 0 THEN
PRINT "   "; numLet
PRINT "   "; ice
PRINT "  "; melt: PRINT "  "; edit\$: PRINT " "; euro\$
PRINT numLet * ice
PRINT
PRINT #2, "   "; numLet
PRINT #2, "   "; ice
PRINT #2, "  "; melt: PRINT #2, "  "; edit\$: PRINT #2, " "; euro\$
PRINT #2, numLet * ice
PRINT #2,
END IF
END IF
END IF
END IF
END IF
END IF
END IF
END IF
END IF
NEXT
NEXT

 Posted by Charlie on 2011-09-01 17:50:10

 Search: Search body:
Forums (0)