So few days ago XKCD published this comic:

http://xkcd.com/1208
xkcd.com/1208

Which for me resolves in a infinite loop. But to be sure I wrote a small Ruby class to compute it.

And the result was:

~/.rvm/gems/ruby-2.0.0-p0/gems/memoist-0.9.0/lib/memoist.rb:34: stack level too deep (SystemStackError)

So my idea was correct12. You’re welcome.

  1. May not be true
  2. Increment by 2
  3. Actually a 45
  4. False
  5. True32 if false12