7
$\begingroup$

There are seven cards with colors and numbers:

"1.blue"
"1.red"
"2.violet"
"3.orange"
"5.green"
"6.indigo"
"6.yellow"

Mr. Q said, "Make a rainbow with these cards."

Then, Mr. A placed the cards as follows:

"1.red"
"3.orange"
"6.yellow"
"5.green"
"1.blue"
"6.indigo"
"2.violet"

But Mr. Q said, "The positions of the two cards have changed!"

What is the correct order of the cards?

$\endgroup$
7
$\begingroup$

Mr. Q wants us to take.

The nth letter of the color on a given card.

For example, the card "1.red" becomes:

R, because that's the first letter in red.

Using this, the order needs to be:

"1.red"
"3.orange"
"2.violet"
"5.green"
"1.blue"
"6.indigo"
"6.yellow"

$\endgroup$
5
$\begingroup$

The order that Mr Q. means is

      "1.|r|ed"
    "3.or|a|nge"
     "2.v|i|olet"
  "5.gree|n|"
      "1.|b|lue"
 "6.indig|o|"
 "6.yello|w|"

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.