]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/project-euler/049/049.factor
project-euler: Rewrap, update links, add copyrights, tests
[factor.git] / extra / project-euler / 049 / 049.factor
index a59e057013fe6f0282537f636e20e09f4d546aeb..21d53d111c79c5e7a9fcc162568c5ca1d713c97b 100644 (file)
@@ -5,20 +5,22 @@ sequences sets ;
 FROM: project-euler.common => permutations? ;
 IN: project-euler.049
 
-! https://projecteuler.net/index.php?section=problems&id=49
+! https://projecteuler.net/problem=49
 
 ! DESCRIPTION
 ! -----------
 
-! The arithmetic sequence, 1487, 4817, 8147, in which each of the terms
-! increases by 3330, is unusual in two ways: (i) each of the three terms are
-! prime, and, (ii) each of the 4-digit numbers are permutations of one another.
+! The arithmetic sequence, 1487, 4817, 8147, in which each of
+! the terms increases by 3330, is unusual in two ways: (i) each
+! of the three terms are prime, and, (ii) each of the 4-digit
+! numbers are permutations of one another.
 
-! There are no arithmetic sequences made up of three 1-, 2-, or 3-digit primes,
-! exhibiting this property, but there is one other 4-digit increasing sequence.
+! There are no arithmetic sequences made up of three 1-, 2-, or
+! 3-digit primes, exhibiting this property, but there is one
+! other 4-digit increasing sequence.
 
-! What 12-digit number do you form by concatenating the three terms in this
-! sequence?
+! What 12-digit number do you form by concatenating the three
+! terms in this sequence?
 
 
 ! SOLUTION