Minor corrections
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
from timeit import default_timer
|
||||
|
||||
# Function using a modified sieve of Eratosthenes to count
|
||||
# the prime factors of each number.
|
||||
# the distinct prime factors of each number.
|
||||
def count_factors(n):
|
||||
factors = [0] * n
|
||||
i = 2
|
||||
|
@ -82,7 +82,7 @@ def main():
|
||||
|
||||
end = default_timer()
|
||||
|
||||
print('Project Euler, Problem 59')
|
||||
print('Project Euler, Problem 60')
|
||||
print('Answer: {}'.format(n))
|
||||
|
||||
print('Elapsed time: {:.9f} seconds'.format(end - start))
|
||||
|
Reference in New Issue
Block a user