A certain code word uses numbers 1, 2, 3, 4 and 5.

A certain code word uses numbers 1, 2, 3, 4 and 5.
The numbers are written from left to right.
The numbers correspond to the following conditions:

  1. The code word can contain a minimum of two numbers. The numbers can be the same or different.
  2. 1 cannot be the first number in the code word.
  3. If 2 occurs, it should occur more than once.
  4. 3 cannot be the last number in the word nor can it be next to last.
  5. If 1 occurs, 4 must also occur.
  6. If 2 does not occur, 5 too cannot occur.
    Which of the following is the code word?

Answers:

  • 1224
  • 2532
  • 3225
  • 4315
  • 5413