示例#1
0
        public long Execute()
        {
            long x = 1;

            return(x.To(long.MaxValue).Where(k => Problem3.IsPrime(k)).ElementAt(10000));
        }
示例#2
0
        public long Execute()
        {
            long start = 1;

            return(start.To(2000000).Where(x => Problem3.IsPrime(x)).Sum());
        }