Problem 261

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.
hammingweight
Posts: 1
Joined: Sat Feb 13, 2010 5:52 am

Re: Problem 261

Post by hammingweight »

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.
User avatar
rayfil
Administrator
Posts: 1412
Joined: Sun Mar 26, 2006 5:30 am
Location: Quebec, Canada
Contact:

Re: Problem 261

Post by rayfil »

I assume that 1 isn't actually a square-pivot.
That assumption is correct.
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

Post by TripleM »

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
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.
naadv
Posts: 6
Joined: Tue Oct 12, 2010 12:32 pm

Re: Problem 261

Post by naadv »

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. :)
dnosrc
Posts: 8
Joined: Tue Jul 27, 2010 4:58 pm

Re: Problem 261

Post by dnosrc »

naadv 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. :)
sorry but you are not even close
Thierry
Posts: 3
Joined: Mon Apr 01, 2013 4:48 pm

Problem 261

Post by Thierry »

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!
User avatar
sjhillier
Administrator
Posts: 561
Joined: Sun Aug 17, 2014 4:59 pm
Location: Birmingham, UK
Contact:

Re: Problem 261

Post by sjhillier »

Thierry, your post has been edited, and I've sent you a PM.
Post Reply