All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Consecutive-Free Sets (Posted on 2025-02-13) Difficulty: 3 of 5
Find the number of sets A such that A ⊂ {1, 2, 4, 5, 6, 8, 9, 10, 11}, |A| = 4 and A contains no consecutive integers.

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Analytic Solution | Comment 3 of 4 |
This is a PENCIL AND PAPER PROBLEM! What's with all the computer solutions?

So lets start by actually analyzing set A.  A can be partitioned into three runs of consecutive numbers: B={1,2} C={4,5,6} and D= {8,9,10,11}.

The desired subsets can have at most one member form B, at most two members from C, and at most two members from D.
We seek a subset of A of size 4, so those four members can be dived among B, C, and D in three ways:
* one member of B, one member of C and two members of D
* one member of B, two members of C and one member of D
* zero members of B, two members of C and two members of D

There is one way to choose no members from B
There are two ways to choose one member of B
There are three ways to choose one member of C
There is one way to choose two nonconsecutive members of C
There are four ways to choose one member of D
There are three ways to choose two nonconsecutive members of D.

Then the final calculation is 2*3*3 + 2*1*4 + 1*1*3 = 18+8+3 = 29.

  Posted by Brian Smith on 2025-02-13 11:38:50
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (4)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2025 by Animus Pactum Consulting. All rights reserved. Privacy Information