Finally finished 26, think I did it good enough

This commit is contained in:
2020-11-08 01:57:52 +01:00
parent b4c8909835
commit ef8cfc2d4a
2 changed files with 88 additions and 5 deletions

7
27/main.py Normal file
View File

@@ -0,0 +1,7 @@
# Quadratic primes
# Consider quadratics of the form:
# n^2 + an + b, where abs(a) < 1000 and abs(b) <= 1000
# Find the product of the coefficients, a * b, for the quadratic expression that
# produces the maximum number of primes for consecutive values of n, starting from n = 0