On Mon, Nov 8, 2010 at 8:55 PM, Greg <g...@kinostudios.com> wrote:
> I'm currently in the process of learning Clojure, and as an ex cerise

Did you mean "exercise"? An ex cerise would be something that used to
be a cherry. :)

> The gears are initially set to 3,3,3. Pull the right lever and the top two
> gears will turn, giving you 1,1,3. If instead you had pulled the left lever,
> the bottom two gears turn giving you 3,1,1.
> So, from the plaque, you would think that the goal here is to get 2,2,1.
> After unsuccessfully pulling the levers for about an hour I decided it was
> time to turn this problem into a Clojure learning exercise.
> Having successfully written my function (and now, thanks to Ken and Meikel,
> having written it *properly*), I can assuredly inform you all that this
> whole business is a red herring! There is no possible way to obtain 2,2,1
> from any series of left or right turns if you're starting at 3,3,3!

If the numbers start out 3,3,3 and always change up or down by 2, then
even numbers like 2 can never occur.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to