Esempio n. 1
0
 private static ulong Solution()
 {
     return(new TriangleSequence()
            .First(x => Factorization.GetCountOfDivisors(x) > 500));
 }
Esempio n. 2
0
        public void GetCountOfDivisors_Examples_AreCorrect(ulong number, ulong expectedCount)
        {
            var actual = Factorization.GetCountOfDivisors(number);

            Assert.AreEqual(expectedCount, actual, "Count of divisors for {0} is wrong.", number);
        }