PyPE solution to PE problem 10

Registered by Scott Armitage

PyPE solution to PE problem 10

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Scott Armitage
Completed by
Scott Armitage

Sprints

Whiteboard

    ProjectEuler.net problem 10
    ===========================

    The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.

    Find the sum of all the primes below two million.

    Solution
    --------

    The module PyPE.pemath contains an efficient prime number generator. The
    trivial solution is to generate all primes less than the limit (2*10**6)
    and perform a collection sum.

    Answer
    ------

    142913828922

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.