NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
I bet New Scientist publishes a correction (Score:1)
Re: (Score:1)
Re:I bet New Scientist publishes a correction (Score:1)
there is 1 solution for 7, with reverse = 2
there is 3 solutions for 9, with reverse = 6
there is 1 solution for 11, with reverse = 2
2 * 6 * 2 = 24
I used a bit more complicated code than I am about to show, but you should be able to see how I came up with the 24 solutions
Reply to This
Parent
Re: (Score:1)
and your code shows them.
also - you didn't take into consideration the fact that digits cannot be reused between numbers generated for various dividers.
Huh? (Score:1)
also - you didn't take into consideration the fact that digits cannot be reused between numbers generated for various dividers
I am not sure I understand.