Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Operations on numbers (http://www.go4expert.com/forums/operations-on-numbers-t26084/)

Avenger625 18Jun2011 00:46

Operations on numbers
 
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]



softracid 22Jun2011 02:12

Re: Operations on numbers
 
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.


All times are GMT +5.5. The time now is 22:49.