I have what I really believe is the right answer, and I've verified my code every way I can, but it won't accept my answer. Yes, I know that the natural first reaction is to assume that I need to check again and am wrong, but given that I've successfully solved 76 problems in 3 days, and I've been double-checking this one for over an hour with no sign of a possible problem, I am seriously considering the possibility that the problem is with PE's answer and/or question. (I know that wording of questions sometimes changes..)
Can someone verify for me that the starts of the chains of length 60 are all the permutations of snip!, or else tell me a start of a chain that I am missing?
Problem 074
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.
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
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
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.
- jaap
- Posts: 588
- Joined: Tue Mar 25, 2008 3:57 pm
- Contact:
-
harryh
- Posts: 2091
- Joined: Tue Aug 22, 2006 9:33 pm
- Location: Thessaloniki, Greece
Re: Can someone verify problem 74?
I had to snip a couple of values - since they seemed to be giving away almost all of the possibilities.
And there is no error in the answer to this problem as entered in the database - I doublechecked.
And there is no error in the answer to this problem as entered in the database - I doublechecked.
-
btilly
- Posts: 44
- Joined: Fri Sep 26, 2008 7:45 am
- jaap
- Posts: 588
- Joined: Tue Mar 25, 2008 3:57 pm
- Contact:
Re: Can someone verify problem 74?
Sorry about that, I didn't notice. Thanks.harryh wrote:I had to snip a couple of values - since they seemed to be giving away almost all of the possibilities.
-
exelian
- Posts: 4
- Joined: Mon Oct 13, 2008 7:52 pm
Problem 74
I found some errors in the calculation presented as example in problem 74. The first proposed sequence is said to be:
169 -> 363601 -> 1454 -> 169.
But it turns out 3! + 6! + 3! + 6! + 0! + 1! = 1453, making the whole example invalid.
The other 2 examples are correct, maybe this should be corrected.
I could of course be entirely wrong, in which case I wouldn't mind some enlightenment on the problem.
169 -> 363601 -> 1454 -> 169.
But it turns out 3! + 6! + 3! + 6! + 0! + 1! = 1453, making the whole example invalid.
The other 2 examples are correct, maybe this should be corrected.
I could of course be entirely wrong, in which case I wouldn't mind some enlightenment on the problem.
- daniel.is.fischer
- Posts: 2400
- Joined: Sun Sep 02, 2007 11:15 pm
- Location: Bremen, Germany
Re: Errors in problem 74
The thing is that 0! = 1. So 3! + 6! + 3 ! + 6! + 0! + 1! = 6 + 720 + 6 + 720 + 1 + 1 = 1454.
There are very good reasons for 0! = 1, so much so that it's the only reasonable definition of 0!.
There are very good reasons for 0! = 1, so much so that it's the only reasonable definition of 0!.
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
-
exelian
- Posts: 4
- Joined: Mon Oct 13, 2008 7:52 pm
Re: Errors in problem 74
Ah, of course, I knew there must've been something I'd missed, back to problem solving I guess.
- jaap
- Posts: 588
- Joined: Tue Mar 25, 2008 3:57 pm
- Contact:
Re: Errors in problem 74
See for example this recent post of mine.daniel.is.fischer wrote:The thing is that 0! = 1. So 3! + 6! + 3 ! + 6! + 0! + 1! = 6 + 720 + 6 + 720 + 1 + 1 = 1454.
There are very good reasons for 0! = 1, so much so that it's the only reasonable definition of 0!.
