Example #1
0
 public int Problem39()
 {
     return(MathsHelper.GetPythagTriplePerimeterCount(1000).
            OrderByDescending(x => x.Item2).
            First().Item1);
 }
Example #2
0
 public int Problem75()
 {
     return(MathsHelper.GetPythagTriplePerimeterCount(1500000).
            Count(x => x.Item2 == 1));
 }