problem 302
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.
-
ddrm
- Posts: 4
- Joined: Mon Sep 20, 2010 12:30 pm
problem 302
Hi Folks,
I think there is a problem with problem 302: I think there are substantially more Strong Achilles numbers than you are allowing for: I think I can find 8 below 1000, so there will be quite a lot more below 10,000. To avoid spoilers, I don't want to give the numbers, or how I deduced them, but I also don't want to waste time writing the programme if I am completely missing something...
Best wishes,
DDRM
I think there is a problem with problem 302: I think there are substantially more Strong Achilles numbers than you are allowing for: I think I can find 8 below 1000, so there will be quite a lot more below 10,000. To avoid spoilers, I don't want to give the numbers, or how I deduced them, but I also don't want to waste time writing the programme if I am completely missing something...
Best wishes,
DDRM
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: problem 302
I don't think it would do much harm it you listed those 8 below thousand, so that we can look together where your problem is.
Or better still: list them for yourself and find the prime factorisations of n and Phi(n).
Or better still: list them for yourself and find the prime factorisations of n and Phi(n).

War ruins the life and health of untold numbers of innocent children.
-
ddrm
- Posts: 4
- Joined: Mon Sep 20, 2010 12:30 pm
Re: problem 302
Hi HK,
Thanks: my 8 candidates are:
108 = 2^2.3^3 phi(108)=36 = 2^2.3^2
216= 2^3.3^3 phi (216)=72=2^3.3^2
324=2^2.3^4 phi(324)=108=2^2.3^3
432=2^4.3^3 phi(432)=144=2^4.3^2
500=2^2.5^3 phi(500)=200=2^3.5^2
648=2^3.3^4 phi(648)=216= 2^3.3^3
864=2^5.3^3 phi(864)=288=2^5.3^2
972=2^2.3^5 phi(972)=324=2^2.3^4
Best wishes,
D
Thanks: my 8 candidates are:
108 = 2^2.3^3 phi(108)=36 = 2^2.3^2
216= 2^3.3^3 phi (216)=72=2^3.3^2
324=2^2.3^4 phi(324)=108=2^2.3^3
432=2^4.3^3 phi(432)=144=2^4.3^2
500=2^2.5^3 phi(500)=200=2^3.5^2
648=2^3.3^4 phi(648)=216= 2^3.3^3
864=2^5.3^3 phi(864)=288=2^5.3^2
972=2^2.3^5 phi(972)=324=2^2.3^4
Best wishes,
D
-
niino
- Posts: 873
- Joined: Sun May 24, 2009 3:22 am
- Location: Japan
Re: problem 302
Hi ddrm,
36=6^2
216= 6^3
They are perfect powers.
[EDIT] Thank you hk, it is my mistake.
36=6^2
216= 6^3
They are perfect powers.
[EDIT] Thank you hk, it is my mistake.
Last edited by niino on Mon Sep 20, 2010 2:32 pm, edited 1 time in total.

- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: problem 302
Actually they are perfect powers and thus no Achilles Numbers.niino wrote:Hi ddrm,
36=6^2
216= 6^3
They are not perfect powers.
The same holds for 324=18^2.

War ruins the life and health of untold numbers of innocent children.
-
ddrm
- Posts: 4
- Joined: Mon Sep 20, 2010 12:30 pm
Re: problem 302
Aha! Thanks, Niino.
I misinterpreted that rule as meaning not pure powers of a single prime factor - I missed the possibility of having composites! That will certainly narrow the possibilities..
I knew I would be missing something stupid, but couldn't for the life of me see what it was...
D
I misinterpreted that rule as meaning not pure powers of a single prime factor - I missed the possibility of having composites! That will certainly narrow the possibilities..
I knew I would be missing something stupid, but couldn't for the life of me see what it was...
D
-
red22
- Posts: 2
- Joined: Thu Dec 16, 2010 12:17 am
Re: problem 302
Man--I've spent some time on this (thoroughly annoying) problem!
I am definitely not a math whiz.
But, now that I think I'm getting close to solving it I've run into a problem.
I get 276 strong Achilles for 10^8!?!
My algo does respond with 7 for 10^4.
Would someone tell me how many Achilles numbers (not strong Achilles) are under 10^8. I'm hoping that will help me figure out what I'm doing wrong. (Besides the fact that there is some math trick that I don't get!!!
)
Thanks.
I am definitely not a math whiz.
But, now that I think I'm getting close to solving it I've run into a problem.
I get 276 strong Achilles for 10^8!?!
My algo does respond with 7 for 10^4.
Would someone tell me how many Achilles numbers (not strong Achilles) are under 10^8. I'm hoping that will help me figure out what I'm doing wrong. (Besides the fact that there is some math trick that I don't get!!!
Thanks.
-
TripleM
- Posts: 384
- Joined: Fri Sep 12, 2008 3:31 am
-
red22
- Posts: 2
- Joined: Thu Dec 16, 2010 12:17 am
-
dconrad
- Posts: 13
- Joined: Mon Mar 14, 2011 12:45 pm
Re: problem 302
Ah! Many thanks to hk and niino! I was also confused and didn't realize that any perfect powers were excluded, and not merely perfect powers of primes. Now I'm a little closer, since I get 7 strong Achilles numbers less than 10^4, but for some reason I am only getting 642 strong Achilles numbers less than 10^8. I must have some other bug somewhere....
Edited to add: I think I found it. It looks like I was being too clever in limiting the primes that could appear as bases in the factorization of the number. After loosening the criteria a bit, I now get the expected 656 less than 10^8.
But my code is too slow, and uses too much memory.
Edited to add: I think I found it. It looks like I was being too clever in limiting the primes that could appear as bases in the factorization of the number. After loosening the criteria a bit, I now get the expected 656 less than 10^8.
But my code is too slow, and uses too much memory.
- BostonBear
- Posts: 17
- Joined: Thu Apr 28, 2011 4:48 am
- Location: Saugus, MA
Re: problem 302
I am still having difficulties with the numbers, for instance, I get 6 Strong Achilles for n<10^3 and I get 15 for n<10^4. I am wondering if its really 7 Strong Achilles for n<1000 and not n<10,000.
For n < 10^4 I get 15 numbers! not 7.
Take Achilles # 432, Phi(432) is 144, which is a perfect square (12^2). Does this mean 432 should be excluded?
Since one member already posted his results for n<10^4, and he only got 8 and some of those were excluded I am seriously confused..for n<10^3, I have 108,432,500,648,864,972; 6 #s. I've checked my code and numbers carefully and have factored several of these by hand. Can someone at least tell me if this little sample is correct? S.A =5000, Phi(5000) = 2000; S.A =2000, Phi(2000) = 800
I'm not trying to weasel anything, but I've check my numbers thoroughly and something isn't adding up. So I am asking 2 things really, Did the question really mean 7 Strong Achilles for n<10^3 instead of 10^4, and does Phi(n) being a perfect square exclude n from being a Strong Achilles?
Thanks!
BostonBear
aka Mike
For n < 10^4 I get 15 numbers! not 7.
Take Achilles # 432, Phi(432) is 144, which is a perfect square (12^2). Does this mean 432 should be excluded?
Since one member already posted his results for n<10^4, and he only got 8 and some of those were excluded I am seriously confused..for n<10^3, I have 108,432,500,648,864,972; 6 #s. I've checked my code and numbers carefully and have factored several of these by hand. Can someone at least tell me if this little sample is correct? S.A =5000, Phi(5000) = 2000; S.A =2000, Phi(2000) = 800
I'm not trying to weasel anything, but I've check my numbers thoroughly and something isn't adding up. So I am asking 2 things really, Did the question really mean 7 Strong Achilles for n<10^3 instead of 10^4, and does Phi(n) being a perfect square exclude n from being a Strong Achilles?
Thanks!
BostonBear
aka Mike
- BostonBear
- Posts: 17
- Joined: Thu Apr 28, 2011 4:48 am
- Location: Saugus, MA
Re: problem 302
Ok , pls disregard my last question, I just figured it out. Writing out the question gave me the answer. If need be, go ahead and delete my last post.
Thanks!
BostonBear
Thanks!
BostonBear