Ejemplo n.º 1
0
        public void Problem25()
        {
            var digits = Sequences.BigFibbonaci().TakeWhile(b => b.Digits().Count() != 1000).Count() + 1;

            if (digits != 4782)
            {
                throw new InvalidOperationException("Problem not solved correctly");
            }
        }