Problem 377

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.
Post Reply
thundre
Posts: 356
Joined: Sun Mar 27, 2011 10:01 am

Problem 377

Post by thundre »

First I want to say I really love this site and the problems, and I appreciate all the work that goes into creating them. I am not trying to complain, but I think I have to say something about the wording of problem 377.

The directions state:
Find Image.
Give the last 9 digits as your answer.
The first instruction is impossible to follow on an ordinary computer. I don't think I'm spoiling the problem by saying that the sum must include repunit(1317), which is greater than 1.11111e8650415919381337933. Numbers in that range cannot be stored in a reasonable amount of memory.

The people who have solved this have all transformed those instructions into the much more feasible:

Find the last 9 digits of Image.
Image
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 377

Post by hk »

I actually fail to see the use of this post as we are not checking that you actually performed what you seem to see as the first instruction.
Image
War ruins the life and health of untold numbers of innocent children.
omg
Posts: 3
Joined: Thu Mar 01, 2012 4:33 am

Re: Problem 377

Post by omg »

thundre wrote:Find Image.
I agree with thundre, this looks and sounds like a task. And it's an impossible task (greetings from 2012 to those reading this in 2022 or later!)
Also, why don't you verify something like f(5)=[censored] or f(1313)=[censored] as you normally do?
whakamaru
Posts: 47
Joined: Thu May 06, 2010 11:08 pm

Re: Problem 377

Post by whakamaru »

I deduce that there is a clever solution, involving math that I won't understand. "Brute force" would be ridiculous. I guess I'll never know.
sivakd
Posts: 217
Joined: Fri Jul 17, 2009 9:37 am
Location: California, USA
Contact:

Re: Problem 377

Post by sivakd »

No need to despair. Since you only solved 21 problems so far, just keep solving the earlier problems and build up your knowledge incrementally. Then you can revisit this problem.
whakamaru wrote:I deduce that there is a clever solution, involving math that I won't understand. "Brute force" would be ridiculous. I guess I'll never know.
Image
puzzle is a euphemism for lack of clarity
umu
Posts: 20
Joined: Wed Apr 11, 2012 7:33 am

Re: Problem 377

Post by umu »

omg wrote:
thundre wrote:Find Image.
I agree with thundre, this looks and sounds like a task. And it's an impossible task (greetings from 2012 to those reading this in 2022 or later!)
Well, to be serious :) , this was my first thought too, meanwhile I grasp, this is rather philosophical than linguistic problem. "Finding a number" means finding it in your imagination. A number is a "number", and not just a sequence of digits. You can represent it any way you (and maybe others) like. Think of Graham's number (n->3(^^n)3)^64(4). For the number in question there is some "simpler, but not shorter" representation for instance. Find the number of grains of rice on a chessboard. Be it 18446744073709551615, FFFFFFFFFFFFFFFF, 3*5*17*257*641*65537*6700417 or (2^^^2)^(2^^2)-(2^2)^(2-2), you can't pick them up anyway...
whakamaru
Posts: 47
Joined: Thu May 06, 2010 11:08 pm

Re: Problem 377

Post by whakamaru »

I have written lines of perfect code for many problems, but they don't work. At least I understand this one!!!
Post Reply