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?
Problem 555
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.
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 555
No, you're not.
We've chosen to ask for some S(q,q), because we found those the most interesting.
We've chosen to ask for some S(q,q), because we found those the most interesting.

War ruins the life and health of untold numbers of innocent children.
-
mkrasnapolski
- Posts: 1
- Joined: Wed Mar 04, 2020 6:13 pm
Re: Problem 555
Hi
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!!
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!!
- kenbrooker
- Posts: 187
- Joined: Mon Feb 19, 2018 3:05 am
- Location: Northern California, USA
Re: Problem 555
Please consider -- Don't start begging others to give partial answers to problems...
"Good Judgment comes from Experience;
Experience comes from Bad Judgment..."

Experience comes from Bad Judgment..."

