Page 1 of 1
Problem 272
Posted: Fri Jan 08, 2010 12:06 pm
by ssp
Hello,
i've found 63450979 numbers with C(n) = 242 and get wrong answer (3463044300794026317).
Is those numbers near to the right answer?
Re: Problem 272
Posted: Sat Jan 09, 2010 3:58 pm
by zwuupeape
There are about twice as many numbers
Re: Problem 272
Posted: Sat Jan 30, 2010 6:10 am
by viv_ban
Somebody please confirm if the answer is 19543219365706 for n <= 3*10^8.
Thanks.
Re: Problem 272
Posted: Sat Jan 30, 2010 7:00 am
by zwuupeape
No, but it's close - the first four digits are good
Re: Problem 272
Posted: Sat Jan 30, 2010 10:17 am
by viv_ban
Thanks zwuupeape for reply. Can you please recheck the value because I am getting the same answer (for 3*10^8) with a completely different algorithm (semi brute force).
Re: Problem 272
Posted: Sat Jan 30, 2010 6:00 pm
by zwuupeape
Oh, you are correct. I have a pretty subtle bug there. My program misses exactly one number. I'm surprised it actually works for higher values, now that I think of it
So yeah, it's good. Sorry!
Re: Problem 272
Posted: Sat Jan 30, 2010 10:59 pm
by viv_ban
hey no problem!
I learned lot of new and interesting things and finally came up with faster and better algorithm.
Re: Problem 272
Posted: Fri Jul 19, 2013 9:18 pm
by oleglyamin
Could anyone confirm that:
1) there are 663 positive results for n <= 3 * 10^7 for a total of 13166591472.
2) there are 29454 positive results for n <= 3 * 10^8.
Thanks.
Re: Problem 272
Posted: Sat Jul 20, 2013 3:24 pm
by oleglyamin
Bump. See previous post.
EDIT: Solved.
Re: Problem 272
Posted: Wed Aug 07, 2013 8:39 am
by lld2006
oleglyamin wrote:Could anyone confirm that:
1) there are 663 positive results for n <= 3 * 10^7 for a total of 13166591472.
2) there are 29454 positive results for n <= 3 * 10^8.
Thanks.
The result for 3e7 is not correct. It is really misleading.
Re: Problem 272
Posted: Tue Sep 02, 2014 12:46 am
by Jamie
oleglyamin wrote:Could anyone confirm that:
1) there are 663 positive results for n <= 3 * 10^7 for a total of 13166591472.
2) there are 29454 positive results for n <= 3 * 10^8.
Thanks.
Strangely enough, I get these wrong results as well
EDIT: found my issue. Though I probably can't say too much about it.
Re: Problem 272
Posted: Wed Oct 17, 2018 8:44 am
by yourmaths
Jamie wrote: Tue Sep 02, 2014 12:46 am
oleglyamin wrote:Could anyone confirm that:
1) there are 663 positive results for n <= 3 * 10^7 for a total of 13166591472.
2) there are 29454 positive results for n <= 3 * 10^8.
Thanks.
Strangely enough, I get these wrong results as well
EDIT: found my issue. Though I probably can't say too much about it.
OK I have been working on and debugging this problem all day and finally got the "correct wrong" answer above

- anyone who gets this far on the problem surely deserves partial credit.
Re: Problem 272
Posted: Thu Oct 18, 2018 1:24 am
by yourmaths
For future solvers: if you end up getting the correct wrong answer above, you are about 95% there, and understand the problem well enough to identify the issue and solve it.
Re: Problem 272
Posted: Mon May 06, 2019 6:42 am
by mdean
I think I'm getting close to solving this problem. So far, I have the one value in this thread that's been confirmed (by viv_ban and zwuupeape). I was wondering if I could pm someone who has completed this problem with my value for 3*10^9. If someone could confirm that this value is correct, it would help focus my troubleshooting. If this value is wrong, I could have larger issues, but at least I'd know where to start looking.
Re: Problem 272
Posted: Mon May 06, 2019 9:17 am
by MuthuVeerappanR
Hi mdean,
If you could PM your value, I can confirm it.
Re: Problem 272
Posted: Tue Aug 25, 2020 6:11 am
by castrate
I think I'm on the (seemingly)correct way, but the answer was wrong, even not the same with the "correct wrong" answer. Could you please check:
Is the smallest number satisfying C(n)=242 <snipped>?
And is the smallest number satisfying C(n)=242 and not divisible by 9 <snipped>?
Edit: Solved the problem.