Problem 173 & 174

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
ed_r
Posts: 1009
Joined: Sun Jul 29, 2007 10:57 am

Re: Problems 173 & 174

Post by ed_r »

Re stats: it would be nice to know, for each problem, the number of people that were (eventually) successful as a proportion of the number of people that had submitted any attempt at an answer. But I seem to remember Colin saying something about the database being too big now, so I don't suppose that's going to be possible for the PE stats page. Oh well.
!647 = &8FDF4C
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: Problems 173 & 174

Post by daniel.is.fischer »

Would be interesting, but to enter an answer, be it correct or not, you must have understood a fair bit about the problem in many cases. Okay, a lot are brute-forceable in less than two days, but e.g. #152 is way beyond that, would take a couple of years. And 133 is even theoretically unbrute-forceable, you must understand enough of the theory that the only question is whether you think a couple of minutes more to write a programme that returns the answer in a second or write one which runs perhaps 5 minutes.

@joshbowman205: Yes, it seems most people start with the easy ones (I started with the ones I found most interesting), but even so, imagine you have solved 70% of the problems and find the rest is way beyond your education. We don't want to tell such people "Too bad, no more fun for you here". We want to lead them deeper into the beautiful world of mathematics. On the other hand, we don't want to bore people like you much either, we're trying to find the right balance. All help welcome.
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
Zell
Posts: 4
Joined: Sun Dec 23, 2007 6:26 pm

Re: Problems 173 & 174

Post by Zell »

I feel rather silly posting this, but... the language in 173 is confusing me. I'll try to ask for clarification without asking for help (especially since I suspect the problem is not terribly hard):
With one-hundred tiles, and not necessarily using all of the tiles at one time, it is possible to form forty-one different square laminae.
What exactly is the restriction being placed on the laminae? I took it to mean 'any lamina that uses up to 100 tiles' but now I am not so sure. The term 'at one time' is a bit vague. Perhaps 'any collection of laminae whose tiles add up to precisely 100'?
User avatar
ed_r
Posts: 1009
Joined: Sun Jul 29, 2007 10:57 am

Re: Problems 173 & 174

Post by ed_r »

There are 41 laminae that (each) use 100 or fewer tiles.

The question is then: how many laminae are there that (each) use 1000000 or fewer tiles?

I got confused at first, too, thinking that the question wanted me to produce lots of laminae all at the same time (so maybe you can get through, oh I don't know, 1000 laminae before you run out of tiles). But the picture in the question makes it clear that I was wrong.
!647 = &8FDF4C
Zac256
Posts: 2
Joined: Sun Oct 28, 2007 10:01 pm

Problems 173 and 174 : Wording

Post by Zac256 »

I think it might be useful to note that there is one and only one hole in a square laminae. Without this it seems like the following might be a valid solution... It is 1. Symetrical. 2. Square outline. 3. Missing center square.

1111111
1011101
1111111
1110111
1111111
1011101
1111111
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: Problems 173 and 174 : Wording

Post by daniel.is.fischer »

"We shall define a square lamina to be a square outline with a square "hole" so that the shape possesses vertical and horizontal symmetry."
Isn't the singular article clear? If multiple holes were allowed, wouldn't one have to say 'with one or more square holes'?
To me (not a native speaker, though) it seems unambiguous. What do the english say?
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
joshbowman205
Posts: 59
Joined: Wed Oct 31, 2007 4:28 pm

Re: Problems 173 and 174 : Wording

Post by joshbowman205 »

Its a little tricky at first but yes it is unambiguous. Changing it to "one square hole" is preference
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: Problems 173 and 174 : Wording

Post by daniel.is.fischer »

But would remove all possibility of misunderstanding, so I think it's good.
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
LeeBreisacher
Posts: 2
Joined: Sun Dec 23, 2007 3:36 pm

problem 173

Post by LeeBreisacher »

I know I'm not supposed to discuss unsolved problems, or ask for help, but I'd like to know what my options are. Here's the situation: I have studied problem 173, written a simple Java program to solve it, studied it some more, thought about it at length, and I cannot see what's wrong with my solution. So, I'm wondering if any of these things are possible/allowed:
1. I could post my answer for 1000 tiles, 10000 tiles, etc. and see if it matches others that have solved it correctly. (Yes, my solution does produce 41 for 100 tiles).
2. Strike up a private email conversation with someone that has solved it correctly -- not to give me the answer, but just to see if I'm on the right track or try to discover where my thinking might be faulty.
Thanks,
Lee
User avatar
rayfil
Administrator
Posts: 1412
Joined: Sun Mar 26, 2006 5:30 am
Location: Quebec, Canada
Contact:

Re: problem 173

Post by rayfil »

You could send me a PM (Private Message). Can't promise an immediate answer though.
When you assume something, you risk being wrong half the time.
LeeBreisacher
Posts: 2
Joined: Sun Dec 23, 2007 3:36 pm

Re: problem 173

Post by LeeBreisacher »

Never mind -- I figured it out. Thankfully for my sanity, my algorithm was correct, I just missed an int overflow error.

Thanks,

Lee
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: Problems 173 & 174

Post by stijn263 »

It is now the intention of the Project Euler team to rotate the difficulty of new problems through an easy-medium-hard-medium- cycle
so problem 175 is considered to be of medium difficulty?
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: Problems 173 & 174

Post by daniel.is.fischer »

We weren't sure, problem 169 seemed much easier than we expected. Originally it was considered hard (not terribly hard), but we changed it a bit (now it can be done with pencil & paper in less than one minute -- given you know how). Time will tell how wrong we were. Seems you'd not rate it as easy, would you?
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: Problems 173 & 174

Post by stijn263 »

definately not easy, but after problem 169, it wasn't hard either, at least, that was my experience. a medium difficulty problem fits nicely into the "Project Euler teams' intention" i guess :)

i think so many users have solved problem 169 because the recursion isn't that hard to find, and there are also a lot of other approaches that can be used. problem 175 can be considered hard if one hasn't solved 169 yet i think.
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problems 173 & 174

Post by hk »

henk263 wrote:definately not easy, but after problem 169, it wasn't hard either, at least, that was my experience. a medium difficulty problem fits nicely into the "Project Euler teams' intention" i guess :)

i think so many users have solved problem 169 because the recursion isn't that hard to find, and there are also a lot of other approaches that can be used. problem 175 can be considered hard if one hasn't solved 169 yet i think.
That's why we put them in that order. We could also have restricted ourselves to #175 only but that would have been less than half as nice. Do you see now why developers notes are not always a good idea?
Image
War ruins the life and health of untold numbers of innocent children.
User avatar
ed_r
Posts: 1009
Joined: Sun Jul 29, 2007 10:57 am

Re: Problems 173 & 174

Post by ed_r »

Why do you assume that the dev notes for #169 should give everything away? No-one said they should be comprehensive. It would be naive of a developer to release notes that killed off the possibility of interesting follow-on problems.
!647 = &8FDF4C
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: Problems 173 & 174

Post by stijn263 »

Hans wrote:That's why we put them in that order. We could also have restricted ourselves to #175 only but that would have been less than half as nice.
perhaps it would be nice to add a note to problem 169 and 175, so people know they'll have more success trying 169 first. something like:

NOTE: This problem is an easier version of problem 175; it is advised that you solve this one first.

NOTE: This problem is a difficult version of problem 169.
drwhat
Posts: 45
Joined: Tue Sep 06, 2011 4:56 am

Re: Problem 173 & 174

Post by drwhat »

I was curious if anyone who had solved this could PM. I have solution for N(n) for 1 <= n <= 20. My N(15) matches 832 correctly but my summation of 1 to 10 seems off. I was wondering if could PM someone that list to see how far off i was.
User avatar
Marcus_Andrews
Administrator
Posts: 1637
Joined: Wed Nov 09, 2011 5:23 pm

Re: Problem 173 & 174

Post by Marcus_Andrews »

Feel free to PM me
jdorje
Posts: 2
Joined: Fri May 06, 2016 2:48 am

Re: Problem 173

Post by jdorje »

Problem 173 seems pretty ambiguous. What does "not necessarily using all of the tiles at one time" mean? This is the opposite of the "unique" tiling given in the example? Why make the example show one thing then make the problem something, not just more complicated (that's normal), but with no precise definition?
Post Reply