7 lines
286 B
Python
7 lines
286 B
Python
# 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 |