int[] humble = new int[5842];
humble[i] = Math.Min(Math.Min(humble[a]*2,humble[b]*3), Math.Min(humble[c]*5, humble[d]*7));
if(humble[i]==humble[a]*2)
if(humble[i]==humble[b]*3)
if(humble[i]==humble[c]*5)
if(humble[i]==humble[d]*7)
public static void Main()
Console.WriteLine("Enter the index of the humble number:");
int.TryParse( Console.ReadLine(), out index);
Console.WriteLine("The Humble Number is:{0}",Humble(index));