Skip to content

Sunday Times Teaser 3247 – In the Bag

by BRG on December 15, 2024

by Andrew Skidmore

Published Sunday December 15 2024 (link)

My set of snooker balls comprises 15 red balls, 6 “colours” (not red) and a white ball. From these, I have placed a number of balls in a bag such that if four balls are drawn at random the chance of them all being red is a two-digit whole number times the chance of them all being colours.

If I told you this whole number you would not be able to determine the numbers of reds and colours in the bag, but I can tell you that drawing four colours is a one in a whole number chance.

How many balls are in the bag and how many of them are red?

From → Uncategorized

6 Comments Leave one →
  1. BRG permalink

    This now includes a suggestion from Frits which improves the speed from 18.6 to 17.3 microseconds.

  2. John Z permalink

    • Frits permalink

      @John,

      You work with a “redcount” set. The requirements suggest you should work with something like a “redcolourcount’ set.

    • John Z permalink

      and are clearly not going to win any speed competitions.

  3. Frits permalink

    Also taking into account the number of white balls.

    • Frits permalink

      A faster version without the Fraction import.

Leave a Reply

Note: HTML is allowed. Your email address will not be published.

Subscribe to this comment feed via RSS