# Project Euler, Problem #2
#
# Find the sum of all even-valued terms
# in the Fibonacci sequence which do not
# exceed one million.
n1, n2 = 1, 2
sum = 0
while n1 < 2 ="="" sum =" sum" n2 =" n2,">
Moscow, Rome, New York... Since 1973
# Project Euler, Problem #2
#
# Find the sum of all even-valued terms
# in the Fibonacci sequence which do not
# exceed one million.
n1, n2 = 1, 2
sum = 0
while n1 < 2 ="="" sum =" sum" n2 =" n2,">
Subscribe to:
Post Comments (Atom)
About Me
Labels
-
architecture
(1)
-
art
(4)
-
Asheville
(5)
-
beer
(13)
-
books
(38)
-
Bruckner Project
(4)
-
Canada
(6)
-
culture
(27)
-
cycling
(3)
-
drink
(11)
-
economics
(1)
-
economy
(1)
-
film
(1)
-
food
(27)
-
language
(7)
-
Michigan
(13)
-
Michigan09
(7)
-
misc
(37)
-
museums
(3)
-
Music
(57)
-
New Orleans
(4)
-
New Orleans 2009
(4)
-
New York
(1)
-
news
(22)
-
Oregon
(1)
-
outdoors
(9)
-
philosophy
(1)
-
Phoenix
(3)
-
politics
(11)
-
Portland
(1)
-
Recipes
(2)
-
religion
(2)
-
science
(1)
-
the interwebs
(2)
-
theatre
(2)
-
travel
(40)
-
wine
(8)
-
work
(8)
-
writing
(3)
Blog Archive
-
▼
2007
(62)
-
▼
September
(27)
- Don't these people have jobs?
- Blue Cheese
- Recreational Fire Extinguishing
- Selfishness
- Mendocino Grille
- Rant: Christmas
- Project Euler
- Beethoven
- Project Euler
- Busara
- Bodies
- Rant: Job Interview
- Executive Privilege, Pizza and Beer
- Pasta with Sausage, Mushroom and Spinach sauce
- Beethoven
- Goldberg Variations
- Maine, Nova Scotia, New Brunswick: Conclusion
- Maine, Nova Scotia, New Brunswick: Day Seven
- Maine, Nova Scotia, New Brunswick: Day Six
- Maine, Nova Scotia, New Brunswick: Day Five
- Maine, Nova Scotia, New Brunswick: Day Four
- Maine, Nova Scotia, New Brunswick: Day Three
- Maine, Nova Scotia, New Brunswick: Day Two
- Maine, Nova Scotia, New Brunswick: Day One
- Maine, Nova Scotia, New Brunswick: Intro
- Clive James, Beethoven
- Intro
1 comment:
I'm not holding myself to the one-minute rule too faithfully, but I try to re-engineer to get under the mark when I can. I still need to polish my algorithms for #4, #9, #10 and #14 that went overtime, the most egregious taking over nine minutes on my antiquated hardware.
Post a Comment