Skip to content

Instantly share code, notes, and snippets.

@lune-sta
Created August 16, 2012 01:47
Show Gist options
  • Save lune-sta/3365517 to your computer and use it in GitHub Desktop.
Save lune-sta/3365517 to your computer and use it in GitHub Desktop.
Project Euler 25
f = [1,1]
f.push(f[-1] + f[-2]) while f[-1].to_s.size < 1000
p f.size # 4782
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment