Page 1 of 1

Problem 284

Posted: Fri Apr 02, 2010 2:26 pm
by mrtollefson
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

Re: Problem 284

Posted: Fri Apr 02, 2010 2:37 pm
by hk
14c is correct.

Re: Problem 284

Posted: Mon Nov 07, 2011 6:07 am
by BostonBear
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.

Re: Problem 284

Posted: Mon Nov 07, 2011 7:03 am
by TripleM
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 :)

Re: Problem 284

Posted: Mon Nov 07, 2011 7:24 pm
by BostonBear
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.

Re: Problem 284

Posted: Mon Jul 27, 2015 7:33 pm
by deejinator
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.

Re: Problem 284

Posted: Thu May 07, 2020 4:09 pm
by tchiari
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!

Re: Problem 284

Posted: Fri May 15, 2020 3:42 pm
by sjhillier
tchiari wrote: Thu May 07, 2020 4:09 pm I am finding 9 results
I won't tell you the values, but I will confirm that you are correct that you are missing some solutions. If your original solution isn't working, try it a different way (another language or method) and you might find them, the solution space is not so large for this range.