Skip to content

Latest commit

 

History

History

53

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

There are exactly ten ways of selecting three from five, 12345:

123, 124, 125, 134, 135, 145, 234, 235, 245, and 345

In combinatorics, we use the notation, ⁵C₃ = 10

In general,

Choose function

How many, not necessarily distinct, values of C, for 1 ≤ n ≤ 100, are greater than one-million?

Running

$ python euler53.py

(Just make sure that's Python 3!)