Is 1 a square-pivot?
02 + 12 = 12
and 1 is a positive integer. 0, of course, isn't a positive integer but the wording of this problem seems to require that the square-pivot k be positive; not necessarily that the m consecutive integers immediately less than k all be positive.
Despite this, I assume that 1 isn't actually a square-pivot.
Problem 261
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.
- rayfil
- Administrator
- Posts: 1412
- Joined: Sun Mar 26, 2006 5:30 am
- Location: Quebec, Canada
- Contact:
Re: Problem 261
That assumption is correct.I assume that 1 isn't actually a square-pivot.
When you assume something, you risk being wrong half the time.
-
TripleM
- Posts: 384
- Joined: Fri Sep 12, 2008 3:31 am
Re: Problem 261
You are correct; the problem does not require the integers less than k be positive. However, the example you gave is invalid - it has n=0, but you require n >= k.hammingweight wrote:02 + 12 = 12
and 1 is a positive integer. 0, of course, isn't a positive integer but the wording of this problem seems to require that the square-pivot k be positive; not necessarily that the m consecutive integers immediately less than k all be positive
-
naadv
- Posts: 6
- Joined: Tue Oct 12, 2010 12:32 pm
Re: Problem 261
Hi,
Oh, Tough problem. One of the hardest I've tried.
Can somone please confirm that the solution for 10^7 is 874336206?
Thanks in advance.
Oh, Tough problem. One of the hardest I've tried.
Can somone please confirm that the solution for 10^7 is 874336206?
Thanks in advance.
-
dnosrc
- Posts: 8
- Joined: Tue Jul 27, 2010 4:58 pm
Re: Problem 261
sorry but you are not even closenaadv wrote:Hi,
Oh, Tough problem. One of the hardest I've tried.![]()
Can somone please confirm that the solution for 10^7 is 874336206?
Thanks in advance.
-
Thierry
- Posts: 3
- Joined: Mon Apr 01, 2013 4:48 pm
Problem 261
I'm currently trying to tackle this interesting riddle, but I experience some troubles. I've read the forum so that to check I'm on the good track and verified I'm right for 10⁶.
But my solution for 10¹⁰ is still wrong, so I miss few singularities for some large values of m!
For 10⁸, I've found ???xxxxxxx?? and the sum of digits is ??
For 10⁹, I've found ???xxxxxxxx?? and the sum of digits is ??
Are these correct?
For 10¹⁰, I've found a number x of pivots, and the sum of digits of x is ??. Any clue to progress because I'm now stuck!
But my solution for 10¹⁰ is still wrong, so I miss few singularities for some large values of m!
For 10⁸, I've found ???xxxxxxx?? and the sum of digits is ??
For 10⁹, I've found ???xxxxxxxx?? and the sum of digits is ??
Are these correct?
For 10¹⁰, I've found a number x of pivots, and the sum of digits of x is ??. Any clue to progress because I'm now stuck!
- sjhillier
- Administrator
- Posts: 561
- Joined: Sun Aug 17, 2014 4:59 pm
- Location: Birmingham, UK
- Contact: