Problem 284

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

Don't post any spoilers
mrtollefson
Posts: 10
Joined: Wed Oct 14, 2009 3:21 pm

Problem 284

I want to make sure I'm properly understanding the problem. Looking at the example set, we are looking for steady squares between 1 and ddddddddd in Base 14 (nine d's or 20,661,046,783 decimal), and between 1 and 10,000 d's for the problem set.

If that assumption is correct, does the answer for 1<=n<=6 equal 14c or 264 decimal?

I see the easy part of the pattern. Still struggling with the grander vision.

Thanks,
...mrt

hk
Posts: 10811
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 284

14c is correct.

BostonBear
Posts: 17
Joined: Thu Apr 28, 2011 4:48 am
Location: Saugus, MA

Re: Problem 284

I am puzzled here, quoting from the problem description " c372 = aa0c37, and the sum of its digits is c+3+7=18"

from my calcuations, the sum of the digits should be c->12 + 3->3 + 7->7 = 22, not 18. I don't see what I'm doing wrong, perhaps this problems text should be fixed, either that or perhaps you can tell me where I'm thinking wrongly.

TripleM
Posts: 382
Joined: Fri Sep 12, 2008 3:31 am

Re: Problem 284

BostonBear wrote:I am puzzled here, quoting from the problem description " c372 = aa0c37, and the sum of its digits is c+3+7=18"

from my calcuations, the sum of the digits should be c->12 + 3->3 + 7->7 = 22, not 18. I don't see what I'm doing wrong, perhaps this problems text should be fixed, either that or perhaps you can tell me where I'm thinking wrongly.
Perhaps you shouldn't cut the last 5 words from the sentence you quoted

BostonBear
Posts: 17
Joined: Thu Apr 28, 2011 4:48 am
Location: Saugus, MA

Re: Problem 284

TripleM wrote:
BostonBear wrote:I am puzzled here, quoting from the problem description " c372 = aa0c37, and the sum of its digits is c+3+7=18"

from my calcuations, the sum of the digits should be c->12 + 3->3 + 7->7 = 22, not 18. I don't see what I'm doing wrong, perhaps this problems text should be fixed, either that or perhaps you can tell me where I'm thinking wrongly.
Perhaps you shouldn't cut the last 5 words from the sentence you quoted
Yeah, duh... Thanks I did do the conversion before I added the numbers in the sequence, but took the sums in base 10 and then converted the number to base 14, thereby missing the obvious.

deejinator
Posts: 9
Joined: Tue Feb 25, 2014 5:41 pm

Re: Problem 284

Anybody else having trouble with this, make sure your program doesn't store "0" digits as "14", especially if it only does it in a case that doesn't have any zeros up to the 9 digits of the example.

tchiari
Posts: 2
Joined: Sat Jan 12, 2019 6:40 pm

Re: Problem 284

Following up on mrtollefson's first post to this forum, I'm trying to first solve this for 1<=n<=6 and I'm not coming up with a digit sum of 14c. For this range, I am finding 9 results, but the sum of my digits is less than half of what is expected. I'm wondering if I could PM my 9 results to someone and see if they could clue me in to the first missing result - that should hopefully get me going in the right direction! Thanks!

sjhillier