Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • your expected output doesnt make sense - by your own definition 153 should return 729 Commented Dec 7, 2018 at 3:46
  • 1^3 + 5^3 + 3^3 = 153. This my expected output, i.e an armstrong number Commented Dec 7, 2018 at 3:50
  • Your second question (the bold part) already has an answer, easily found by searching: unix.stackexchange.com/questions/155551/… Commented Dec 7, 2018 at 9:24