Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Popular topics and tags

    Shapes

    • Geometry
    • Vectors and matrices
    • Topology
    • Networks and graph theory
    • Fractals

    Numbers

    • Number theory
    • Arithmetic
    • Prime numbers
    • Fermat's last theorem
    • Cryptography

    Computing and information

    • Quantum computing
    • Complexity
    • Information theory
    • Artificial intelligence and machine learning
    • Algorithm

    Data and probability

    • Statistics
    • Probability and uncertainty
    • Randomness

    Abstract structures

    • Symmetry
    • Algebra and group theory
    • Vectors and matrices

    Physics

    • Fluid dynamics
    • Quantum physics
    • General relativity, gravity and black holes
    • Entropy and thermodynamics
    • String theory and quantum gravity

    Arts, humanities and sport

    • History and philosophy of mathematics
    • Art and Music
    • Language
    • Sport

    Logic, proof and strategy

    • Logic
    • Proof
    • Game theory

    Calculus and analysis

    • Differential equations
    • Calculus

    Towards applications

    • Mathematical modelling
    • Dynamical systems and Chaos

    Applications

    • Medicine and health
    • Epidemiology
    • Biology
    • Economics and finance
    • Engineering and architecture
    • Weather forecasting
    • Climate change

    Understanding of mathematics

    • Public understanding of mathematics
    • Education

    Get your maths quickly

    • Maths in a minute

    Main menu

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • Audiences

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Tokens

    Counter logic

    26 October, 2015
    Counters

    Imagine that I have three counters X, Y and Z. They are coloured red, white and blue, but not necessarily in this order. One, but only one, of the following statements is true:

    X is red

    Y is not red

    Z is not blue

    Can you work out the colours of the counters?

    This puzzle was suggested to us by Ems Lord, as part of her wonderful article celebrating the bicentenary of the birth of George Boole.

    Solution link
    Counter logic: Solution
    • Log in or register to post comments

    Anonymous

    28 October 2015

    Permalink
    Comment

    X is BLUE
    Y is RED
    Z is WHITE

    • Log in or register to post comments

    Anonymous

    22 June 2022

    In reply to Classic Question! by Anonymous

    Permalink
    Comment

    it says in the question that x is red and y is not red

    • Log in or register to post comments

    Anonymous

    18 August 2023

    In reply to Classic Question! by Anonymous

    Permalink
    Comment

    correct

    • Log in or register to post comments

    hehehehahaha

    6 October 2023

    In reply to Classic Question! by Anonymous

    Permalink
    Comment

    x is red
    y is white
    and z is blue

    • Log in or register to post comments

    Anonymous

    29 October 2015

    Permalink
    Comment

    The colors are as in the figure: X is red, Y is blue, Z is White.

    • Log in or register to post comments

    John76923

    25 July 2016

    In reply to Puzzle by Anonymous

    Permalink
    Comment

    You need to read the Q more carefully. How many true statements are allowed?

    • Log in or register to post comments

    Anonymous

    29 October 2015

    Permalink
    Comment

    Hoping my logic holds up:

    1) If X is Red true then Y is not red also true: Contradicts initial premise that only one of given statements is true. Hence X is not Red. X is Blue or White.

    2) If Y is not Red then it is Blue or White. If Z is not Blue then it is Red or White.

    3) If Y not Red is true then Z not Blue is false as only one of these statements can be true. In which case Z is blue and 2) above means Y is white. However this would mean X is red which contradicts 1) above.

    4) With Z not blue true, Y not Red is false. Y is red, 2) gives Z white and 1) gives X blue.

    Lines up with statements given as follows:

    X is Red - False. X is Blue.
    Y is not Red - False. Y is Red
    Z is not Blue - True. Z is White

    • Log in or register to post comments

    Anonymous

    30 October 2015

    Permalink
    Comment

    X is blue
    Y is red
    Z is white

    • Log in or register to post comments

    Anonymous

    30 October 2015

    Permalink
    Comment

    X is blue
    Y is red
    Z is white

    • Log in or register to post comments

    Anonymous

    30 October 2015

    Permalink
    Comment

    I just couldn't figure out how to solve this with truth tables and values. My reasoning went:

    If "X is red" is true, then "Y is not red" must be false because only one statement can be true, so Y is red, so "X is red" is false after all. Since X is not red, X is either blue or white. If X is blue, then "Z is not blue" is true, so the only remaining colour Z can be is white.

    Conclusion: X is blue, Y is red, Z is white. The first two statements in the original question are false, the third is true. Right?

    If the above approach can be described in contrast to Boole's as "trial and improvement", it isn't too laboriously so I hope, since at least I didn't go through every possible combination of colours for the counters and truth values for the statements. I only tried out two statements "X is red" and then "X is blue" in the course of homing in. (Though admittedly it took a lot of cogitation before deciding on that course in the first place). I really look forward to an explanation of how the answer can be calculated using AND and OR Boolean style without this process of elimination.

    Interesting that Boole mathematised logic, but later thinkers in the 19th and early 20th century tried to logicise maths.

    Chris G

    • Log in or register to post comments

    Anonymous

    2 November 2015

    Permalink
    Comment

    Z is White, X is Blue and Y is Red

    • Log in or register to post comments

    Anonymous

    2 November 2015

    Permalink
    Comment

    X is BLUE
    Y is RED
    Z is WHITE

    • Log in or register to post comments

    Anonymous

    5 November 2015

    Permalink
    Comment

    Z is not blue is TRUE.

    X is Blue
    Y is Red
    Z is White

    • Log in or register to post comments

    Anonymous

    6 November 2015

    Permalink
    Comment

    X is blue, Y is red and Z is white. Enjoyed the puzzle, thanks.

    • Log in or register to post comments

    Anonymous

    8 November 2015

    Permalink
    Comment

    Tag these statements A,B,C. Here is a direct solution.

    A implies B so it cannot be the only true statement. Therefore, X cannot be red.
    B cannot be true because if "Y is not Red" then Z must be red, rendering both B and C true. So B is False and thus Y=Red.
    C remains the only option for the true statement.
    Z cannot be Blue or Red so it Z=White. This leaves X=Blue.

    Check it out: X=Blue, Y=Red, Z=White renders A, B False while C is True.

    • Log in or register to post comments

    Anonymous

    9 November 2015

    Permalink
    Comment

    I must say I'm impatient for an answer to this puzzle. Well, not for the answer itself, which I've already sent in though it hasn't been posted yet (just to repeat: X blue, Y red, Z white), but to be enlightened as to how to get it Boolean style by adding and multiplying some 1's and 0's. Two weeks now ought to be long enough eh?

    Chris G

    • Log in or register to post comments

    Anonymous

    13 November 2015

    Permalink
    Comment

    X is red
    Y is Blue
    Z is white

    • Log in or register to post comments

    Anonymous

    23 November 2015

    Permalink
    Comment

    Good one ..
    Conditions
    1) each one has different colours
    2) Exactly one of the statement can be correct

    My arguments is like this
    If X is Red is True then Y is not Red will also be true which violates second condition .
    So X is RED not possible
    Hence X cannot be true ( so X is White or Blue)

    Now Y is not Red is True imply Y is White or Blue
    Suppose Y is Blue then third statement will be True Not possible
    Y is White then X will become Blue again third statement also become true.
    Hence Y is not red is False So Y is RED...
    Z can be White or Blue But since only one statement is True Z is Blue Hence X is White
    X=White
    Y= Red
    Z= Blue

    • Log in or register to post comments

    Anonymous

    26 November 2015

    Permalink
    Comment

    Answer :

    y is red
    x is blue
    z is white

    x is red ? false, x is blue
    y is not red ? false, y is red
    z is not blue ? true, z is white

    • Log in or register to post comments

    Anonymous

    26 December 2015

    Permalink
    Comment

    X is red
    Y is blue
    Z is white

    • Log in or register to post comments

    Anonymous

    23 February 2016

    Permalink
    Comment

    X is Blue
    Y is red
    Z is white

    • Log in or register to post comments

    Anonymous

    9 April 2016

    Permalink
    Comment

    Straightforward: 1st or 2nd statement can't be true as this would lead to a contradiction -> last statement is true meaning:
    x is not red
    y is red
    z is not blue -> x is blue, y is red, z is white

    • Log in or register to post comments

    John76923

    25 July 2016

    Permalink
    Comment

    Great puzzle. My approach to it was this:
    1. The 3 statements are MUTUALLY EXCLUSIVE (one true implies others all false).
    2. They are also EXHAUSTIVE (one of them must be true, or in other words they can't all be false).
    3. There are only three of them.
    4. Therefore assume in turn that each is true and the others false, and seek in each case a contradiction to eliminate the possibility of the adopted premise (reductio ad absurdum).

    Most commentators seem to have followed this approach. But I also liked the post which viewed the sculpture from a different angle.

    Mutual exclusivity and exhaustiveness don't just apply to the statements to be logically analysed. They also apply to the value of, say, Z (it must be either red, blue or white; and it can't be more than one of these) and they apply to the colours (red, say, must be one of the counters, X, Y or Z; and it can't be the colour of more than one of them).

    Similar duality in the lines of attack apply in puzzles like Sudoku. A move can be either position-led (what value goes into this cell?) or value-led (where can 7 be placed in this column or row or box)? In my experience, once you get up to speed, most Sudoku solutions are about 80% value-led and 20% position-led, though it varies a bit from puzzle to puzzle. I suspect it also varies from solver to solver, as people develop their own preferred attack styles and special personal 'hooks'.

    I often finish off Sudoku puzzles abandoned by others left on tube or pub newspapers, and try to work out their reasoning errors. A lot of less adept Sudoku solvers adopt poor notation practices (or none at all) and confuse statements about values with statements about positions. They are actually quite different, and a statement about one tells us sweet jack about the other.

    • Log in or register to post comments

    Abhilash

    27 July 2016

    Permalink
    Comment

    Let:
    S1 = X is red
    S2 = Y is not red
    S3 = Z is not blue

    if S1 is TRUE, then S2 will also be TRUE - this cannot be, so S1 is FALSE
    Now if S2 is TRUE, then Z is Red => S3 is TRUE - this also cannot be, S2 is FALSE
    This leaves S3 is TRUE
    => Z is Red or White
    Since S2 is FALSE Y is Red => Z is White => X is Blue

    Therefore:
    X = Blue
    Y = Red
    Z = White

    • Log in or register to post comments

    word on the block

    4 January 2017

    Permalink
    Comment

    X= Red
    Y= Blue
    Z= White

    • Log in or register to post comments

    ewcrew

    4 January 2018

    Permalink
    Comment

    This one can be done by assuming each one to be true, as you can then test for a logical contradiction. If there is a logical contradiction when something is assumed to be true, it must be false. With this logic, I found that Z is true, so X is Blue, Y is Red and Z is White.

    • Log in or register to post comments

    DHIRAJ SINGH

    18 October 2018

    Permalink
    Comment

    X is blue.
    Y is red.
    Z is white.
    Since, the option 3 suggests that
    Z is not blue than it could be red or white.

    As option 2 is wrong as per the question's condition; therefore Y is red.
    Resulting Z as White as the only option.
    And hence, X is blue.

    • Log in or register to post comments

    Ruhan Alpaydin

    15 April 2023

    Permalink
    Comment

    There is only one row where only one of S1, S2 and S3 is true. (S1 = X is red, S2 = Y is not red, S3 = Z is not blue).

    X | Y | Z || S1 || S2 || S3
    ------------------------
    R | B | W || T || T || T
    R | W | B || T || T || F
    B | W | R || F || T || T
    B | R | W || F || F || T
    W | R | B || F || F || F
    W | B | R || F || T || T

    • Log in or register to post comments

    Anonymous

    18 August 2023

    In reply to Solution with a truth table by Ruhan Alpaydin

    Permalink
    Comment

    unnecessarily complicated

    • Log in or register to post comments
    University of Cambridge logo

    Plus is part of the family of activities in the Millennium Mathematics Project.
    Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

    Terms