IMO 1969 Q1 #
Prove that there are infinitely many natural numbers $a$ with the following property: the number $z = n^4 + a$ is not prime for any natural number $n$.
The key to the solution is that you can factor $z$ into the product of two polynomials,
if $a = 4*m^4$. This is Sophie Germain's identity, called pow_four_add_four_mul_pow_four
in mathlib.
To show that the product is not prime, we need to show each of the factors is at least 2,
which nlinarith
can solve since they are each expressed as a sum of squares.
The factorization is over the integers, but we need the nonprimality over the natural numbers.
We define $a_{choice}(b) := 4*(2+b)^4$, so that we can take $m = 2+b$ in polynomial_not_prime
.
Equations
- Imo1969Q1.aChoice b = 4 * (2 + b) ^ 4
Instances For
aChoice
is a strictly monotone function; this is easily proven by chaining together lemmas
in the strictMono
namespace.