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]
i can help u in 1st and 3rd problem. Bt at that time i'm om mobile so cant post u whole procedure. And i will try to solve 2nd one also.