Re:Send+more=money and how to use forward-checking in search
by petercooper on Wednesday July 21, 2021 @07:01AM
(#27904670)
Fun! It's beside the point of the article, but am I misinterpreting "There are 2 valid solutions" or is it at least 2 valid solutions? The first two solutions I came up with weren't the same as the author's but passed the checker (e.g. 7534+0825=08359)
[ Parent
| on HN ]
Re:Send+more=money and how to use forward-checking in search
by mzl on Wednesday July 21, 2021 @07:30AM
(#27904870)
Normally, solutions that start with zeroes are prohibited in alphametic puzzles.
Re:Send+more=money and how to use forward-checking in search
by petercooper on Wednesday July 21, 2021 @07:57AM
(#27905095)
Yes, but one of his two valid suggestions also starts with zeroes (specifically, 2817+0368=03185).
Re:Send+more=money and how to use forward-checking in search
by SoylentOrange on Wednesday July 21, 2021 @11:13PM
(#27914920)
I am OP and there are actually 25 solutions, with only one of them having all leading digits as non-zero.
I made a mistake in the article, where I meant to write "there are at least 2 solutions and here is one example". I will fix this. Nice catch.
Re:Send+more=money and how to use forward-checking in search
by petercooper on Thursday July 22, 2021 @06:51AM
(#27917425)
Aha! I only found a few with my naive approach, but always good to check that I haven't lost all my marbles yet :-) Good post, look forward to more.