linear recurrence sequence with prime coefficients
Source: 2007 Bulgarian Autumn Math Competition, Problem 12.4
March 17, 2022
prime numbersnumber theorylinear recurrence
Problem Statement
Let and be prime numbers and be a sequence of integers defined by:
a_{0}=0, a_{1}=1, a_{n+2}=pa_{n+1}-qa_{n} \forall n\geq 0
Find and if there exists an integer such that .