Problem 555

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
Posts: 100
Joined: Sat Aug 29, 2009 8:49 pm

Problem 555

Post by LarryBlake »

Problem 555 (View Problem)
I'm pretty sure I understand the problem, but not the purpose of the variable p. In all of the references p has the same value as m. Am I missing something?

User avatar
Posts: 10712
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 555

Post by hk »

No, you're not.
We've chosen to ask for some S(q,q), because we found those the most interesting.

Posts: 1
Joined: Wed Mar 04, 2020 6:13 pm

Re: Problem 555

Post by mkrasnapolski »


My outputs with S(10,10) and S(1000,1000) are identical to the ones in the problem text, but the output with S(1000000,1000000) does not pass.

Can anyone confirm other outputs?

S (100,100) = 210803
S (10000,10000) = 208541582207
S (100000,100000) = 208519648620621

Thank you very much!!

User avatar
Posts: 140
Joined: Mon Feb 19, 2018 3:05 am
Location: Northern California, USA

Re: Problem 555

Post by kenbrooker »

Please consider -- Don't start begging others to give partial answers to problems...
"Good Judgment comes from Experience;
Experience comes from Bad Judgment

Post Reply