MathDB
Sequence contains finitely many primes

Source: Nordic Mathematical Contest 2018 Problem 2

April 10, 2018
number theory

Problem Statement

A sequence of primes p1,p2,p_1, p_2, \dots is given by two initial primes p1p_1 and p2p_2, and pn+2p_{n+2} being the greatest prime divisor of pn+pn+1+2018p_n + p_{n+1} + 2018 for all n1n \ge 1. Prove that the sequence only contains finitely many primes for all possible values of p1p_1 and p2p_2.