Problem

Source: Czech-Polish-Slovak Junior Match 2014, Team p3 CPSJ

Tags: number theory, primes, prime



Find with all integers n when |n34n2+3n35| and |n2+4n+8| are prime numbers.