Ten Crypto Problems from Crypto Problem Generator Assignment
Abstract
This assignment is intended to afford an opportunity to consider the Crypto problems that
were generated in the Crypto Problem Generator Assignment.
Ten problems, posed in the assignment, are considered for solution. The solutions are presented
in CSL, the prescribed way to express solutions to Crypto problems. I present for each
Question/Answer pair the most salient aspect of my solution.
10 Problem/Solution/MSA Triples
- Problem: numbers = {5,5,9,7,7,0} and goal = 4
Answer: ((9-7) + ((7-5) + (5 * 0)))
MSA: I thought the most salient aspect of my solution was seeing that
"9 - 7" and "7 - 5" both added up to 4. Since I got that solution, the 0 also popped
out at me which made me utilize it by multiplying 5 by it.
- Problem: numbers = {6,2,4,9,9,1} and goal = 4
Answer: No Solution
- Problem: numbers = {5,5,9,6,6,4} and goal = 8
Answer: ((9 - (6/6)) + ((5 - 5) * 4))
MSA: I thought the most salient aspect of my solution was noticing that
(9 - (6/6)) would give me 8. I also noticed that since I had another pair that was
the same I could subtract it from each other which would produce zero.
- Problem: numbers = {0,0,7,7,7,3} and goal = 1
Answer: ((7/7) + ((7 * 0) + (3 * 0)))
MSA: I thought the most salient aspect of my solution was utilizing the two
zeros that was in my problem. I also noticed that there were two sevens so dividing
them by each other would give me 1.
- Problem: numbers = {6,5,5,1,1,1} and goal = 8
Answer: ((6 + (1 + 1)) ((5 - 5) * 1))
MSA: I thought the most salient aspect of my solution was utilizing the first two
ones to add them to 6 so that I could get 8. Then I noticed that I had two 5s so I could
produce zero.
- Problem: numbers = {6,0,4,3,3,5} and goal = 3
Answer: ((6 - 3) + (0 * ((5 - 3) + 4)))
MSA: I thought the most salient aspect of my solution was using 0 to
multiply the rest of the numbers that did not product a 3.
- Problem: numbers = {6,4,0,6,6,5} and goal = 0
Answer: (((6 - 6) * (4 + 5)) + (0 * 6))
MSA: I thought the most salient aspect of my solution was utilizing the two
6's and the 0 in my problem to give me an answer of 0.
- Problem: numbers = {7,5,3,7,7,6} and goal = 5
Answer: (5 + ((7 - 7) * (((6 + 7) + 3))))
MSA: I thought the most salient aspect of my solution was my nested paranthesis.
Since my goal was 5 and I already had a 5 I utilized the 7 and 7 to give me a zero and
to negate the rest of the numbers in my problem.
- Problem: numbers = {4,9,7,5,5,3} and goal = 7
Answer: (7 + ((5 - 5) * ((3 + 4) + 9)))
MSA: I thought the most salient aspect of my solution was utilizing the 5 and the other 5
to give me zero.
- Problem: numbers = {1,9,1,3,3,3} and goal = 7
Answer: (((9 - 3) + (1 + 1)) / (3/3))
MSA: I thought the most salient aspect of my solution was dividing 3/3 so that I
can get one so that I preserve the 7 in my answer.