Difference between revisions of "2017 UNCO Math Contest II Problems/Problem 5"

m (Problem)
m (Solution)
 
Line 11: Line 11:
  
 
== Solution ==
 
== Solution ==
We first notice that there are two 2-cycles, <math>A-E</math> and <math>B-C</math>, and one 3-cycle, <math>D-F-G</math> (in that order). From the single 3-cycle, we realize that <math>D -> G</math>, <math>G -> F</math>, and <math>F -> D</math>. We then figure that after two substitutions <math>B</math> becomes <math>C</math> and vice-versa, then there must be another 2-cycle that fills in the gaps (see figure below).
+
We first notice that there are two 2-cycles, <math>A-E</math> and <math>B-C</math>, and one 3-cycle, <math>D-F-G</math> (in that order). From the single 3-cycle, we realize that <math>D \rightarrow G</math>, <math>G \rightarrow F</math>, and <math>F \rightarrow D</math>. We then figure that after two substitutions <math>B</math> becomes <math>C</math> and vice-versa, then there must be another 2-cycle that fills in the gaps (see figure below).
  
 
<math> B \rightarrow \fullmoon \rightarrow C \rightarrow \fullmoon \rightarrow B \ldots \text{etc}</math>
 
<math> B \rightarrow \fullmoon \rightarrow C \rightarrow \fullmoon \rightarrow B \ldots \text{etc}</math>

Latest revision as of 16:03, 4 February 2023

Problem

Double Encryption

(a) Find a substitution code on the seven letters A, B, C, D, E, F, and G that has the property that if you apply it twice in a row (that is, encrypt the encryption), the message ABCDEFG becomes ECBFAGD. Describe your answer by giving the message that results when encryption is applied once to the message ABCDEFG.

(b) Find another such code, if there is one.

Solution

We first notice that there are two 2-cycles, $A-E$ and $B-C$, and one 3-cycle, $D-F-G$ (in that order). From the single 3-cycle, we realize that $D \rightarrow G$, $G \rightarrow F$, and $F \rightarrow D$. We then figure that after two substitutions $B$ becomes $C$ and vice-versa, then there must be another 2-cycle that fills in the gaps (see figure below).

$B \rightarrow \fullmoon \rightarrow C \rightarrow \fullmoon \rightarrow B \ldots \text{etc}$

But since there's only one other 2-cycle, $A-E$, either $A$ fills in the first gap and $E$ fills in the second, or $E$ fills in the first gap and $A$ fills in the second. This results in $CAEGBDF$ and $BEAGCDF$ respectively, so the answers are

(a) $\boxed{CAEGBDF}$

and

(b) $\boxed{BEAGCDF}$

See also

2017 UNCO Math Contest II (ProblemsAnswer KeyResources)
Preceded by
Problem 4
Followed by
Problem 6
1 2 3 4 5 6 7 8 9 10
All UNCO Math Contest Problems and Solutions