Operations on numbers

Discussion in 'C' started by Avenger625, Jun 18, 2011.

Thread Status:
Not open for further replies.
  1. Avenger625

    Avenger625 New Member

    Joined:
    Feb 1, 2011
    Messages:
    20
    Likes Received:
    2
    Trophy Points:
    0
    I would like all the members here take part in this and contribute to this simple thread......

    We all think differently....so we ll have different solutions to this simple problem.

    I am searching for different logics that would generate the following numbers in an arbitary range say between UpperLimit and LowerLimit. (int UL,LL).
    1. Armstrong Number
    *2. Magic / Ramanujan Number [http://www.quickermaths.com/ramanujan-number/] << This is more important for me.
    3. Krishnamurthy Number [A krishnamurthy number is one whose sum of the factorials of each number is equal to the number itself. Eg: 145]
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    You created the same thread twice. I deleted the one in the C-C++ and left the only Java one here. Now I see you created the same thread again.

    Please make sure you avoid creating the same thread over and over again.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice