MathDB
Find the prime factorization of recursive sequence involving maximum

Source: Bundeswettbewerb Mathematik 2020, Round 1 - Problem 4

November 17, 2020
number theoryprime factorizationnumber theory proposed

Problem Statement

Define a sequence (an)(a_n) recursively by a1=0,a2=2,a3=3a_1=0, a_2=2, a_3=3 and an=max0<d<nadanda_n=\max_{0<d<n} a_d \cdot a_{n-d} for n4n \ge 4. Determine the prime factorization of a19702020a_{19702020}.