Problem 194

A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.

This forum is NOT meant to discuss solution methods for a problem.

In particular don't post any code fragments or results.

Don't start begging others to give partial answers to problems

Don't ask for hints how to solve a problem

Don't start a new topic for a problem if there already exists one


See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Problem 194

Post by stijn263 »

When a problem I've suggested is published, should I wait with entering the correct the answer so to give other people a chance to compete for being the first ? It sounds reasonable, and I also have the feeling that this is happening since I doubt Robert suggested all the new problems ( :wink: ), however I don't see any message (yet) saying it's polite to wait a while..

edit: Starting at post 8 you'll find some clarifications about problem 194
Last edited by stijn263 on Sat May 17, 2008 10:45 am, edited 1 time in total.
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: new problems

Post by stijn263 »

Also, why is problem 194 solved by 12 people the very moment it is released :o

edit: I guess the solved by column is incorrect
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: new problems

Post by euler »

It was a symptom of the technical problems we had last week. I had to exchange all references for #194 to #193; it looks like I forgot that one. It should fix itself when the first person solves it.
Image
impudens simia et macrologus profundus fabulae
User avatar
sfabriz
Posts: 175
Joined: Thu Apr 06, 2006 12:18 am
Location: London - UK

Re: new problems

Post by sfabriz »

I don't even understand the problem... :shock:
Image
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: new problems

Post by daniel.is.fischer »

Yes, for problems you've proposed yourself, politeness suggests that you wait a while before you enter your answer. But once there are a few posts, it is perfectly understandable if you enter the answer to be able to view them.
Of course you have to guess when that is the case, so I'd say wait a couple of hours or so :D
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: new problems

Post by daniel.is.fischer »

sfabriz wrote:I don't even understand the problem... :shock:
Could you be more specific?
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: new problems

Post by stijn263 »

For some reason I expected this problem this week. Am I correct that it wasn't published last week because of the pictures of the graphs?

Btw, couldn't you have published it at some horrible time like 1am or 5am. That would've made waiting a few hours before entering the answer a lot easier :wink:

What part is unclear, fabriz?
User avatar
sfabriz
Posts: 175
Joined: Thu Apr 06, 2006 12:18 am
Location: London - UK

Re: new problems

Post by sfabriz »

Well, I don't understand why the compound graph represents (2,2,6) or (2,2,4)...
Why not (2,2,5) or (2,2,n) where n is up to the number of vertices? If I have 20 vertices and I use 20 colors, I don't paint neighbours with the same color for sure.
I mean, given the graph I could use more than 6 colors to paint it... or not?
Also, I guess we can glue the A and B pieces together in different ways, like ABAB, ABBA, BAAB, and so on, right?
It's really akward, but I don't understand what I have to do... :oops:
Image
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: new problems

Post by stijn263 »

It represents a configuration of type (2,2,n) for n > 3, since it uses 4 colours. All configurations of (2,2,4) are also configurations of type (2,2,5) however (2,2,5) has even more configurations, namely those that use 5 colours.

You have to count all possible configurations of (25,75,1984). Each configuration consist of 25 times graph A and 75 times graph B. These are glued together in some way and then coloured using up to 1984 colours.
Last edited by stijn263 on Sat May 17, 2008 10:49 am, edited 3 times in total.
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: new problems

Post by daniel.is.fischer »

Stijn already posted the first part of my answer, so:
Yes, AABB, ABAB, BAAB all have type (2,2,x).
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: new problems

Post by stijn263 »

euler wrote:It was a symptom of the technical problems we had last week. I had to exchange all references for #194 to #193; it looks like I forgot that one. It should fix itself when the first person solves it.
Yup, it's fixed :) Congrats aleksey
User avatar
sfabriz
Posts: 175
Joined: Thu Apr 06, 2006 12:18 am
Location: London - UK

Re: new problems ( + clarifications for 194)

Post by sfabriz »

That (2,2,4) or (2,2,6) is misleading I guess. My first thought was: why not (2,2,5) or (2,2,7), and so on...
So I was looking for a good reason not to paint the compound graph with 5, 7 or more colors.
All right, thank you, I'll try to solve it.

When I saw 12 people solved it at 9.02 with the problem coming out at 9.00 I thought it was something like:
Given 2 natural numbers a and b let's define f(a,b) = a+b. Find f(11,13) ... or something like that... :lol:

Cheers,
sfabriz
Image
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: new problems ( + clarifications for 194)

Post by daniel.is.fischer »

sfabriz wrote: Given 2 natural numbers a and b let's define f(a,b) = a+b. Find f(11,13) ... or something like that... :lol:

Cheers,
sfabriz
Nah, that's too easy. Should at least be f(a,b) = a*b and f(37,61) 8-)
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: new problems ( + clarifications for 194)

Post by stijn263 »

Daniel, perhaps something like this is more clear:
The compound graph above is an example of a configuration of type (2,2,4), in fact it's a configuration of type (2,2,n) for all n [ge] 4.
tom314
Posts: 1
Joined: Tue May 20, 2008 10:31 am

Re: new problems ( + clarifications for 194)

Post by tom314 »

I would ask for two clarifications:
"where the units are glued along the vertical edges as in the graph"
May unit B be rotated by 180 degrees ?

"so that no two adjacent vertices have the same colour"
Does it mean, that no two coloured points directly connected
by a line may have the same colour ?

Thank you very much in advance.
User avatar
sfabriz
Posts: 175
Joined: Thu Apr 06, 2006 12:18 am
Location: London - UK

Re: new problems ( + clarifications for 194)

Post by sfabriz »

tom314 wrote:I would ask for two clarifications:
"where the units are glued along the vertical edges as in the graph"
May unit B be rotated by 180 degrees ?.
I guess no. Stick with the example provided by the problem.
"so that no two adjacent vertices have the same colour"
Does it mean, that no two coloured points directly connected
by a line may have the same colour ?
Yes. If they share and edge (the line you talk about) they are adjacent vertices. In that case they can't be of the same color.

Cheers
Image
User avatar
Georg
Posts: 157
Joined: Mon Jan 21, 2008 7:00 am
Location: Mannheim, Germany
Contact:

Re: new problems ( + clarifications for 194)

Post by Georg »

@tom314: No. Yes.
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: new problems ( + clarifications for 194)

Post by stijn263 »

problem 195 will be accessible friday morning right?
User avatar
hk
Administrator
Posts: 12831
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: new problems ( + clarifications for 194)

Post by hk »

Yep.
Just set it live, updated RSS feed and sent email notification.


Edit: email received.
Image
War ruins the life and health of untold numbers of innocent children.
User avatar
Tommy137
Posts: 238
Joined: Sun Feb 24, 2008 6:02 pm
Location: Cologne, Germany
Contact:

Re: new problems ( + clarifications for 194)

Post by Tommy137 »

When will the next problem be accessible?
Image
Post Reply