# Operations on numbers

Discussion in 'Java' started by Avenger625, Jun 17, 2011.

1. ### Avenger625New Member

Joined:
Feb 1, 2011
Messages:
20
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. ### softracidNew Member

Joined:
Jun 21, 2011
Messages:
17
1
Trophy Points:
0
Occupation:
Student
Location:
Aligarh
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.