469,891 Members | 2,139 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,891 developers. It's quick & easy.

armstrong number

how to write a program that will find all armstrong numbers between 1 to 100000
Mar 15 '08 #1
4 2347
JosAH
11,448 Expert 8TB
how to write a program that will find all armstrong numbers between 1 to 100000
There are no Armstrong numbers with five digits or more; even for nine digits
the potential Armstrong number can only be 9*9^3 == 9^4 == 6561 only four
digits. A small program showed that there also aren't any four digit Armstrong
numbers so only the well known three digit Armstrong numbers exist: 0, 1, 153,
370, 371 and 407.

kind regards,

Jos
Mar 15 '08 #2
Please do not delete posts without any explanation.
Sep 26 '08 #3
There are no Armstrong numbers with five digits or more; even for nine digits
the potential Armstrong number can only be 9*9^3 == 9^4 == 6561 only four
digits. A small program showed that there also aren't any four digit Armstrong
numbers so only the well known three digit Armstrong numbers exist: 0, 1, 153,
370, 371 and 407.

kind regards,

Jos
Please check Wikipedia and prove yourself wrong.
Sep 26 '08 #4
Banfa
9,065 Expert Mod 8TB
Thread Closed

The original post was low quality and it has not developed anywhere
Sep 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Shay Hurley | last post: by
8 posts views Thread by EAS | last post: by
11 posts views Thread by don | last post: by
19 posts views Thread by gk245 | last post: by
4 posts views Thread by SweetLeftFoot | last post: by
2 posts views Thread by ashu | last post: by
1 post views Thread by ipscec | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.