X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=extra%2Fproject-euler%2F116%2F116.factor;h=a7af001f30630b1d9880014849a8e2e0fbcd3322;hp=d2e5249bac7b5e4ce08a8e978b625dc3a6b62bf1;hb=6d4293b5822d769619f66e46e64b704ddfe41b43;hpb=b7bb69b178712e9d135362ebd6efa69c9b8371ba diff --git a/extra/project-euler/116/116.factor b/extra/project-euler/116/116.factor index d2e5249bac..a7af001f30 100644 --- a/extra/project-euler/116/116.factor +++ b/extra/project-euler/116/116.factor @@ -9,18 +9,18 @@ IN: project-euler.116 ! ----------- ! A row of five black square tiles is to have a number of its tiles replaced -! with coloured oblong tiles chosen from red (length two), green (length +! with colored oblong tiles chosen from red (length two), green (length ! three), or blue (length four). ! If red tiles are chosen there are exactly seven ways this can be done. ! If green tiles are chosen there are three ways. ! And if blue tiles are chosen there are two ways. -! Assuming that colours cannot be mixed there are 7 + 3 + 2 = 12 ways of +! Assuming that colors cannot be mixed there are 7 + 3 + 2 = 12 ways of ! replacing the black tiles in a row measuring five units in length. ! How many different ways can the black tiles in a row measuring fifty units in -! length be replaced if colours cannot be mixed and at least one coloured tile +! length be replaced if colors cannot be mixed and at least one coloured tile ! must be used?