Re: combinatorics problem
- From: "Proginoskes" <proginoskes@xxxxxxxxxxxxx>
- Date: 22 Jul 2005 16:56:18 -0700
Ed Hook wrote:
> Snis Pilbor wrote:
> > Hello!
> >
> > Suppose I have a set of objects which is partitioned into
> > equivalence classes by an equivalence relation ~. I have a machine
> > which can count how many objects there are, and how many pairs (x,y)
> > there are such that x~y. I want to determine how many total classes
> > there are. Is this possible?
> >
>
> I don't _think_ so ...
>
> Suppose that C is one of the equivalence classes, containing
> k objects. How many pairs will your second machine count for
> C ?? Well, there are k pairs (x,x) with x in C and then there
> are k(k-1) pairs (x,y) with x, y in C and x != y, So C contributes
> k^2 to the second machine's count. Clearly, the second machine's
> output is just the sum over all such classes C of the counts it
> obtains so it follows that, if your *general* problem were
> solvable, then you could conclude that any n which can be expressed
> as a sum of squares has exactly _one_ such representation.
>
> But that's well-known to be *false* ...
I'm not sure that's quite what's going on ...
As I read the problem, you're trying to solve a system of Diophantine
equations with a variable number of variables. You're trying to
determine whether there's a solution to the system:
x_1^2 + x_2^2 + ... + x_m^2 = A (1)
x_1 + x_2 + ... + x_m = B (2)
y_1^2 + y_2^2 + ... + y_n^2 = A (3)
y_1 + y_2 + ... + y_n = B, (4)
where x_i, y_j are positive integers, and m =/= n. (x_i and y_i are the
number of elements in the ith equivalence class for each of two
equivalence relations, of course.) If there is a solution, the problem
is hopeless, since the answer isn't unique. If there are no solutions,
then you want to solve (1) and (2).
For instance, if A = 25, there are solutions to the subsystem of (1)
and (3) with m =/= n (namely m=1, n=2, x_1 = 5, y_1 = 3, y_2 = 4) in
spite of 25 being able to be written as the sum of two squares in more
than one way.
(Note that A = 50, which has the solutions x = (7,1) and y = (5,5)
doesn't help, since m = 2 = n here.)
Maybe writing a computer program to generate the ordered pairs (A,B)
satisfying (1) and (2) with a fixed value of m will help.
> > Thanks very kindly in advance,
> > Snis Pilbor
> > (it isn't a homework problem)
I would hope not. 8-) If it's got a nice solution, then it would be
worthy of the Putnam Exam.
--- Christopher Heckman
.
- References:
- combinatorics problem
- From: Snis Pilbor
- Re: combinatorics problem
- From: Ed Hook
- combinatorics problem
- Prev by Date: Re: Chains and anitchains.
- Next by Date: Re: proved transcendental numbers (was: Transcendental Dimensions
- Previous by thread: Re: combinatorics problem
- Next by thread: Re: combinatorics problem
- Index(es):
Relevant Pages
|