Files
euler/src/task53 - Combinatoric selections.py
2020-06-21 23:53:32 +02:00

12 lines
224 B
Python

import math
result = 0
for i in range(22,101):
for j in range(0,101):
if j > i:
break
if math.comb(i,j)>1000000:
result+=((i-(j-1))-j)
break
print(result)