[racket] Using Racket to solve Professor Layton puzzles

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Tue Jul 26 14:10:33 EDT 2011

> Speaking about puzzles, here's another cute one: find how to continue
> this sequence of numbers:
>
>  1 1 2 1 1 2 2 1 2 2 1 1 2 2 2 1 3 2 ...


Cute.  It's self-describing, no?  The next few numbers would be

>  1 1 2 1 1 2 2 1 2 2 1 1 2 2 2 1 3 2 ...

1 1 1 3 1 2 3 1 1 3 1 1 1 2 1 3 2 1 1 3 3 1



Posted on the users mailing list.