PyPE solution to PE problem 20

Registered by Scott Armitage

PyPE solution to PE problem 20

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 20
    ===========================

    n! means n * (n - 1) * ... * 3 * 2 * 1

    Find the sum of the digits in the number 100!

    Solution
    --------

    We have a (relatively) efficient factorial function already, so we simply
    brute-force calculate 100! and sum the digits.

    Answer
    ------

    648

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.