Re: Consecutive Numbers
- From: Maury Barbato <mauriziobarbato@xxxxxxxx>
- Date: Mon, 15 Jun 2009 07:22:23 EDT
SirKnight wrote:
"Maury Barbato" <mauriziobarbato@xxxxxxxx> wrote in
message
news:5576058.15533.1244996553955.JavaMail.jakarta@nitr
ogen.mathforum.org...
rossum wrote:
On Sat, 13 Jun 2009 14:02:36 EDT, Maury Barbato
<mauriziobarbato@xxxxxxxx> wrote:
Hello,Can you answer the question for S(1, m, n)?
let k <= m <= n three positive integers.
Let S(k,m,n) be the number of subsets of
{1,...,n} with the following properties:
(1) S contains m elements
(2) S contains at least a sequence of at least k
consecutive numbers (that is, there exist j such
that j, j + 1, ..., j + k - 1 are in S)
I don't know the answer, except in the trivial
cases k = m or m = n. Do you have some idea?
Thank you for your attention.
My Best Regards,
Maury Barbato
Can you answer the question for S(2, m, n)?
Can you extrapolate from there?
rossum
Obviously, S(1,m,n) = (n choose m), but I don't
know how to find S(2,m,n). Some hint?
Thank you for your attention.
Maury Barbato
S(2,m,n) = C(n, m) - C(n+1-m, m).
That's right! We can simply figure out the numbers
of subsets which contain only sequences of length
1. Let P(m,n) the set of all subsets of {1,...,n}
which contain m elements and P(1,m,n) the set of
all subsets of {1,...,n} which contain only
"sequences" of length 1. The map
s:P(m,n - m + 1) -> P(1, m, n)
defined by (a_1 < a_2 < ... < a_m)
s({a_1, ..., a_m}) = {a_1, a_2 + 1, ..., a_m + m - 1)
is a bijection. So the result.
But off-hand I can't figure out what S(3,m,n) is.
Neither I can!
Thank you very much for your help.
Maury Barbato
.
- Follow-Ups:
- Re: Consecutive Numbers
- From: rossum
- Re: Consecutive Numbers
- References:
- Re: Consecutive Numbers
- From: Nobody
- Re: Consecutive Numbers
- Prev by Date: Re: Complex Made Simple: Update
- Next by Date: Christian louboutin Bling White Crystal Pumps bagaol.com
- Previous by thread: Re: Consecutive Numbers
- Next by thread: Re: Consecutive Numbers
- Index(es):
Relevant Pages
|