]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/project-euler/002/002.factor
project-euler: Rewrap, update links, add copyrights, tests
[factor.git] / extra / project-euler / 002 / 002.factor
index b1dbc7e0d098a7d6f7463c6a0ae56df2dba2fd9a..86e5b7cf22ac27f5bdc36e2252491ca28728d7fc 100644 (file)
@@ -3,18 +3,19 @@
 USING: kernel math sequences project-euler.common ;
 IN: project-euler.002
 
-! https://projecteuler.net/index.php?section=problems&id=2
+! https://projecteuler.net/problem=2
 
 ! DESCRIPTION
 ! -----------
 
-! Each new term in the Fibonacci sequence is generated by adding the previous
-! two terms. By starting with 1 and 2, the first 10 terms will be:
+! Each new term in the Fibonacci sequence is generated by adding
+! the previous two terms. By starting with 1 and 2, the first 10
+! terms will be:
 
 !     1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
 
-! Find the sum of all the even-valued terms in the sequence which do not exceed
-! four million.
+! Find the sum of all the even-valued terms in the sequence
+! which do not exceed four million.
 
 
 ! SOLUTION