Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Re: Hofstadter Metapuzzle

by MeowChow (Vicar)
on May 22, 2002 at 23:51 UTC ( #168620=note: print w/ replies, xml ) Need Help??

in reply to Re: Hofstadter Metapuzzle
in thread (OT) Hofstadter Metapuzzle

Nice work. Iterative processes are hit-or-miss with these sorts of problems, though. They depend on your initial state, can degenerate into cycles, and are not necessarily capable of producing all possible solutions. I wonder if this program can be tweaked to produce the second solution?

               s aamecha.s a..a\u$&owag.print

Comment on Re: Re: Hofstadter Metapuzzle
Replies are listed 'Best First'.
Re^3: Hofstadter Metapuzzle
by tadman (Prior) on May 23, 2002 at 00:29 UTC
    Some puzzles like this don't settle into a steady state, leaving the logical equivalent of a "flip-flop" circuit, the classic paradoxical "This statement is false."-type problem, or two self-defeating, self-reinforcing arrangements like in the "Life" game.

    I think if you seed the initial statement differently, it might settle on a different possibility, though of course, this particular implementation uses the underscores for placement, so that will have to change.
      Sure, you can seed it with the second solution :)
                     s aamecha.s a..a\u$&owag.print

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://168620]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-11-27 11:36 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (725 votes), past polls