euler/e029.py
Correl Roush 793812b67b Problem 029
git-svn-id: file:///srv/svn/euler@59 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-03 23:42:56 +00:00

10 lines
182 B
Python

MAX = 100
numbers = []
for i in range(2, MAX + 1):
for ii in range(2, MAX + 1):
n = i**ii
if n not in numbers:
numbers.append(n)
print len(numbers)