Project Euler Solutions
Functions
python.p0077 Namespace Reference

Functions

def prime_summations
 
def main ()
 

Detailed Description

Project Euler Problem 77

I was able to recycle a lot of the work on #76 for this, though I did have to undo some optimizations to get there

Problem:

It is possible to write ten as the sum of primes in exactly five different ways:

7 + 3
5 + 5
5 + 3 + 2
3 + 3 + 2 + 2
2 + 2 + 2 + 2 + 2

What is the first value which can be written as the sum of primes in over five thousand different ways?

Function Documentation

def python.p0077.main (   int)

Here is the call graph for this function:

def python.p0077.prime_summations (   n)

Here is the caller graph for this function: