Problem 221
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.
-
timpa
- Posts: 1
- Joined: Mon Feb 02, 2009 2:23 pm
Problem 221
Can someone confirm the following Alexandrian numbers?
1000th: 787167192
10000th: 649280243274
100000th: 584788819726944
1000th: 787167192
10000th: 649280243274
100000th: 584788819726944
- Georg
- Posts: 157
- Joined: Mon Jan 21, 2008 7:00 am
- Location: Mannheim, Germany
- Contact:
-
estanford
- Posts: 10
- Joined: Sun Sep 13, 2009 12:06 pm
Re: Problem 221
There may be some bugs in my code, but I get 772168278 as the thousandth Alexandrian.
EDIT: I know my algorithm successfully generates all Alexandrians up to the fortieth in sequence, but I can't verify it beyond that.
EDIT: I know my algorithm successfully generates all Alexandrians up to the fortieth in sequence, but I can't verify it beyond that.
-
zwuupeape
- Posts: 189
- Joined: Tue Jun 09, 2009 6:11 pm
Re: Problem 221
This is correct. The 1000th Alexandrian Integer is indeed 772168278.
Believe it or not, but if you solve the problem, you'll see that there's an algorithm that finds these numbers O(nlogn) time.
Believe it or not, but if you solve the problem, you'll see that there's an algorithm that finds these numbers O(nlogn) time.
- Oliver1978
- Posts: 166
- Joined: Sat Nov 22, 2014 9:13 pm
- Location: Erfurt, Germany
Re: Problem 221
For the 10,000th I get 628[...]090 and for the 100,000th I get 232[...]8200.
???
???
49.157.5694.1125
-
Svartskägg
- Posts: 55
- Joined: Thu Mar 29, 2012 12:55 pm
- Location: Sweden
Re: Problem 221
The value for 10000 is right, the other one wrong.leghorn wrote:For the 10,000th I get 628[...]090 and for the 100,000th I get 232[...]8200.

320641_5486fc18ea1dcc4e9a8f29c7677a5c19 <-- my friend key
- Oliver1978
- Posts: 166
- Joined: Sat Nov 22, 2014 9:13 pm
- Location: Erfurt, Germany
-
h_anand
- Posts: 14
- Joined: Wed May 27, 2015 1:45 am
Re: Problem 221
I get the following values:Svartskägg wrote:The value for 10000 is right, the other one wrong.leghorn wrote:For the 10,000th I get 628[...]090 and for the 100,000th I get 232[...]8200.
Thousandth: 772...278
Ten thousandth: 628...090
Hundred thousandth: 756...504
Is the value for Hundred thousandth correct?
Is overflow possible? I mean, would I encounter values larger than 2 ^ 64?
thank you,
-
Svartskägg
- Posts: 55
- Joined: Thu Mar 29, 2012 12:55 pm
- Location: Sweden
Re: Problem 221
Noh_anand wrote:Hundred thousandth: 756...504
Is the value for Hundred thousandth correct?
I don't remember how my program works, but it uses no variable with more than 64 bits and it gives the right answer, so presumably there is no overflow.h_anand wrote:Is overflow possible? I mean, would I encounter values larger than 2 ^ 64?

320641_5486fc18ea1dcc4e9a8f29c7677a5c19 <-- my friend key
-
h_anand
- Posts: 14
- Joined: Wed May 27, 2015 1:45 am
Re: Problem 221
Thank you, Svartskägg. I was able to solve the problem eventually. To give you an idea of my level, this is the toughest problem I have solved till date. My attempt at solving the arithmetic derivative might take several years to complete. 
- Oliver1978
- Posts: 166
- Joined: Sat Nov 22, 2014 9:13 pm
- Location: Erfurt, Germany
Re: Problem 221
I've iterated my way into this, but I've encountered an issue, which keeps me wondering. My code is ready to run, and it does find the correct answer...but not in the right spot. Would somebody care to take a look?
edit
Top of the evening. Solved this one. Had an overflow, temporary big integer helped me out.
edit
Top of the evening. Solved this one. Had an overflow, temporary big integer helped me out.
49.157.5694.1125
-
pxor
- Posts: 2
- Joined: Mon Mar 04, 2019 4:00 am
Re: Problem 221
Hey, could anyone confirm these numbers are correct ?, thanks.
20k - 488-------508
60k - 124---------660
100k - 148----------350
140k - 276-----------940
20k - 488-------508
60k - 124---------660
100k - 148----------350
140k - 276-----------940
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 221
The first two are correct. The second two not.

War ruins the life and health of untold numbers of innocent children.